engine/app/views/admin/layouts/edit.html.haml

18 lines
533 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :head do
= javascript_include_tag 'admin/plugins/codemirror/codemirror'
- content_for :submenu do
= render 'admin/shared/menu/settings'
- content_for :buttons do
= admin_button_tag :new, new_admin_layout_url, :class => 'new'
%p= t('.help')
= semantic_form_for @layout, :url => admin_layout_url(@layout), :html => { :class => 'save-with-shortcut' } do |form|
= render 'form', :f => form
= render 'admin/shared/form_actions', :back_url => admin_layouts_url, :button_label => :update