cirandas.net

ref: master

plugins/elearning_secretary/views/elearning_secretary_plugin/manage/index.html.slim


= render 'shared/bootstrap_table'

= js_translations_include plugin: :elearning_secretary
= javascript_include_tag 'plugins/elearning_secretary/javascripts/elearning_secretary'

- button_bar
  = button :back, _('Back to control panel'), controller: 'profile_editor', action: "index"

elearning-secretary-context
javascript:
  riot.mount($('elearning-secretary-context').get(0), #{ElearningSecretaryPlugin::ContextSerializer.new(profile).to_json})