Sha256: 52141152ecaddc9c08a2483afe76691e3a3f08214562ff49d435fee9e6b26850

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

- 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

= 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotive_cms-0.0.3.3 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.3.1 app/views/admin/contents/new.html.haml