2011-10-30 23:02:41 +00:00
|
|
|
- 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
|
2011-10-31 23:44:23 +00:00
|
|
|
= admin_button_tag :show_items, contents_url(@content_type.slug_was), :class => 'show'
|
|
|
|
= admin_button_tag :new_item, new_content_url(@content_type.slug_was), :class => 'new'
|
2011-10-30 23:02:41 +00:00
|
|
|
|
|
|
|
%p!= t('.help')
|
|
|
|
|
2011-10-31 23:44:23 +00:00
|
|
|
= semantic_form_for @content_type, :url => content_type_url(@content_type) do |f|
|
2011-10-30 23:02:41 +00:00
|
|
|
|
|
|
|
= render 'form', :f => f
|
|
|
|
|
2011-10-31 23:44:23 +00:00
|
|
|
= render 'admin/shared/form_actions', :back_url => contents_url(@content_type.slug_was), :button_label => :update
|
2011-10-30 23:02:41 +00:00
|
|
|
|
|
|
|
= render 'admin/custom_fields/edit_field', :content_type => @content_type
|