<%= bootstrap_form_for @my_module, url: my_module_path(@my_module, format: :json), remote: :true do |f| %> <%= render partial: 'shared/tiny_mce_extra_buttons.html.erb' %> <%= f.tiny_mce_editor(:description, id: :my_module_description_textarea, hide_label: true, value: sanitize_input(@my_module.description), placeholder: t('my_modules.module_header.empty_description_edit_label'), data: { object_type: 'my_module', object_id: @my_module.id, highlightjs_path: asset_path('highlightjs-github-theme') } ) %> <% end %>