Sha256: 7e3e587df7119ecb9d4b9a655b76b5bcb47bb1909d7d62bdfdcc309dcbc03d63

Contents?: true

Size: 883 Bytes

Versions: 11

Compression:

Stored size: 883 Bytes

Contents

- 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'

- content_for :buttons do
  - if can?(:manage, Locomotive::ContentType)
    = local_action_button t('locomotive.content_entries.index.edit'), edit_content_type_url(@content_type), :class => 'edit'

  = local_action_button t('locomotive.content_entries.index.new'), new_content_entry_url(@content_type.slug), :class => 'new'

%p= @content_type.description

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

  = render 'form', :f => form

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc12 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc11 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc10 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc9 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc8 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc7 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc6 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc5 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc4 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc2 app/views/locomotive/content_entries/edit.html.haml
locomotive_cms-2.0.0.rc1 app/views/locomotive/content_entries/edit.html.haml