- title t('.title', :type => @content_type.name.capitalize) - content_for :submenu do = render 'locomotive/shared/menu/contents' - content_for :actions do = render 'locomotive/shared/actions/contents' - if can?(:manage, Locomotive::ContentType) - content_for :buttons do = local_action_button t('locomotive.contents.index.edit'), edit_content_type_url(@content_type), :class => 'edit' %p= @content_type.description = semantic_form_for @content, :as => :content, :url => contents_url(@content_type.slug), :html => { :multipart => true } do |form| = render 'form', :f => form = render 'locomotive/shared/form_actions', :back_url => contents_url(@content_type.slug), :button_label => :create