2011-10-30 23:02:41 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
- content_for :submenu do
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/menu/contents'
|
2011-10-30 23:02:41 +00:00
|
|
|
|
|
|
|
- content_for :actions do
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/actions/contents'
|
2011-10-30 23:02:41 +00:00
|
|
|
|
|
|
|
- content_for :buttons do
|
2012-01-09 14:49:59 +00:00
|
|
|
= local_action_button :show_entries, content_entries_url(@content_type.slug_was), :class => 'show'
|
|
|
|
= local_action_button :new_entry, new_content_entry_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-12-22 23:45:32 +00:00
|
|
|
= render 'locomotive/shared/form_actions', :back_url => content_entries_url(@content_type.slug_was), :button_label => :update
|