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