2010-05-24 00:18:23 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
|
|
|
= render 'admin/shared/menu/contents'
|
2011-04-27 05:18:02 +00:00
|
|
|
|
|
|
|
- content_for :actions do
|
|
|
|
= render 'admin/shared/actions/contents'
|
2010-05-24 00:18:23 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
|
|
|
= admin_button_tag :show_items, admin_contents_url(@content_type.slug), :class => 'show'
|
2010-07-13 20:01:40 +00:00
|
|
|
= admin_button_tag :new_item, new_admin_content_url(@content_type.slug), :class => 'new'
|
2010-05-24 00:18:23 +00:00
|
|
|
|
2010-07-21 23:56:42 +00:00
|
|
|
%p!= t('.help')
|
2010-05-24 00:18:23 +00:00
|
|
|
|
2010-06-24 09:14:08 +00:00
|
|
|
= semantic_form_for @content_type, :url => admin_content_type_url(@content_type) do |f|
|
2010-05-24 00:18:23 +00:00
|
|
|
|
2010-06-24 09:14:08 +00:00
|
|
|
= render 'form', :f => f
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-06-08 00:45:49 +00:00
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :update
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-06-10 14:50:50 +00:00
|
|
|
= render 'admin/custom_fields/edit_field'
|