Sha256: 8ee12e7244540353f32830961d26febb766cd3740e47bc583c125ffed564a2c4

Contents?: true

Size: 691 Bytes

Versions: 15

Compression:

Stored size: 691 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'
  = admin_button_tag t('admin.contents.index.new'), new_admin_content_url(@content_type.slug), :class => 'new'

%p= @content_type.description

= semantic_form_for @content, :url => admin_content_url(@content_type.slug, @content), :html => { :multipart => true } do |form|

  = render 'form', :f => form

  = render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :update

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
locomotive_cms-0.0.2.9 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.8 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.7 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.6 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.5 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.4 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.3 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.2 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2.1 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.2 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.1.4 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.1.3 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.1.2 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.1.1 app/views/admin/contents/edit.html.haml
locomotive_cms-0.0.1 app/views/admin/contents/edit.html.haml