engine/app/views/locomotive/content_types/edit.html.haml

20 lines
648 B
Plaintext

- title t('.title')
- content_for :submenu do
= render 'locomotive/shared/menu/contents'
- content_for :actions do
= render 'locomotive/shared/actions/contents'
- content_for :buttons do
= local_action_button :show_items, content_entries_url(@content_type.slug_was), :class => 'show'
= local_action_button :new_item, new_content_entry_url(@content_type.slug_was), :class => 'new'
%p!= t('.help')
= semantic_form_for @content_type, :url => content_type_url(@content_type) do |f|
= render 'form', :f => f
= render 'locomotive/shared/form_actions', :back_url => content_entries_url(@content_type.slug_was), :button_label => :update