Sha256: e8ad8d87667ed648992e0ae74e9620c9a392f3bf401ad54f5bec328e0b819116

Contents?: true

Size: 586 Bytes

Versions: 14

Compression:

Stored size: 586 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

14 entries across 14 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta.2 app/views/admin/contents/new.html.haml
locomotive_cms-1.0.0.beta app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta12 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta11 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta10 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta9 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta8 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta7 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta5 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta4 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta3 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta2 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4.beta1 app/views/admin/contents/new.html.haml
locomotive_cms-0.0.4 app/views/admin/contents/new.html.haml