18 lines
658 B
Plaintext
18 lines
658 B
Plaintext
- title t('.title', :type => @content_type.name.capitalize)
|
|
|
|
- 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 t('admin.contents.index.edit'), edit_admin_content_type_url(@content_type), :class => 'edit'
|
|
|
|
%p= @content_type.description
|
|
|
|
= semantic_form_for @content, :as => :content, :url => admin_contents_url(@content_type.slug), :html => { :multipart => true } do |form|
|
|
|
|
= render 'form', :f => form
|
|
|
|
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :create |