Sha256: 3fd01cd4ed98667d23a07003de2784d775121526b131e2a6771abbd78380c287

Contents?: true

Size: 742 Bytes

Versions: 11

Compression:

Stored size: 742 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'

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

%p= @content_type.description

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

  = render 'form', :f => form

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

Version data entries

11 entries across 11 versions & 1 rubygems

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