Sha256: 80b05764dbc0fba6237b11cf75001673183e79fe351bdb472fb770dbfaa155d6
Contents?: true
Size: 914 Bytes
Versions: 8
Compression:
Stored size: 914 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), icon: 'icon-pencil' = local_action_button t('locomotive.content_entries.index.new'), new_content_entry_url(@content_type.slug), icon: 'icon-plus' %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 - content_for :foot do = render_has_many_forms
Version data entries
8 entries across 8 versions & 1 rubygems