Sha256: 005d38e3e6c1d11c50f784d476c16cb83fc442cc7385d22c74d9e444c8b0b595
Contents?: true
Size: 774 Bytes
Versions: 18
Compression:
Stored size: 774 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_path(@content_type), icon: 'icon-pencil' %p= @content_type.description = semantic_form_for @content_entry, as: :content_entry, url: content_entries_path(@content_type.slug), html: { multipart: true } do |form| = render 'form', f: form = render 'locomotive/shared/form_actions', back_url: content_entries_path(@content_type.slug), button_label: :create - content_for :foot do = render_has_many_forms
Version data entries
18 entries across 18 versions & 1 rubygems