Files
openfoodnetwork/app/views/admin/contents/edit.html.haml
2017-01-11 10:00:06 +11:00

15 lines
582 B
Plaintext

= render 'spree/admin/shared/configuration_menu'
- content_for :page_title do
= t('.title')
= form_tag main_app.admin_content_path, method: :put, multipart: true do
#preferences
- @preference_sections.each do |preference_section|
= render 'fieldset', name: preference_section[:name], preferences: preference_section[:preferences]
.form-buttons.filter-actions.actions{"data-hook" => "buttons"}
= button t(:update), 'icon-refresh'
%span.or= t(:or)
= link_to_with_icon 'icon-remove', t(:cancel), main_app.edit_admin_content_path, class: 'button'