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

21 lines
705 B
Plaintext
Raw Normal View History

- title t('.title')
- content_for :submenu do
= render 'admin/shared/menu/contents'
- content_for :actions do
= render 'admin/shared/actions/contents'
- content_for :buttons do
= admin_button_tag :show_items, admin_contents_url(@content_type.slug_was), :class => 'show'
= admin_button_tag :new_item, new_admin_content_url(@content_type.slug_was), :class => 'new'
2010-07-21 23:56:42 +00:00
%p!= t('.help')
2010-06-24 09:14:08 +00:00
= semantic_form_for @content_type, :url => admin_content_type_url(@content_type) do |f|
2010-06-24 09:14:08 +00:00
= render 'form', :f => f
2010-07-21 23:56:42 +00:00
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug_was), :button_label => :update
2010-07-21 23:56:42 +00:00
= render 'admin/custom_fields/edit_field', :content_type => @content_type