2010-05-25 00:32:12 +00:00
|
|
|
- title t('.title', :type => @content_type.name.capitalize)
|
|
|
|
|
|
|
|
- content_for :submenu do
|
|
|
|
= render 'admin/shared/menu/contents'
|
|
|
|
|
|
|
|
- content_for :buttons do
|
|
|
|
= admin_button_tag t('admin.contents.index.edit'), edit_admin_content_type_url(@content_type), :class => 'edit'
|
|
|
|
|
|
|
|
%p= @content_type.description
|
|
|
|
|
2010-07-13 00:46:17 +00:00
|
|
|
= semantic_form_for @content, :as => :content, :url => admin_contents_url(@content_type.slug), :html => { :multipart => true } do |form|
|
2010-05-25 00:32:12 +00:00
|
|
|
|
|
|
|
= render 'form', :f => form
|
|
|
|
|
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :create
|