Sha256: 87a3f8b7da7d365ca5d2c65172c1f8745bbe03e7c0167dfd5f8df1b232793541

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 Bytes

Contents

- title t('.title', type: @content_type.name.capitalize)

- help @content_type.description

- content_for :actions do
  - if @content_type.localized?
    = locale_picker_link
    |  

  = link_to t(:back, scope: 'locomotive.content_entries.shared').html_safe, content_entries_path(current_site, @content_type.slug), class: 'btn btn-sm btn-default'

= locomotive_form_for @content_entry, as: :content_entry, url: content_entry_path(current_site, @content_type.slug, @content_entry), html: { multipart: true, novalidate: true } do |f|

  = hidden_field_tag :content_locale, current_content_locale
  = hidden_field_tag :active_tab, ''
  = hidden_field_tag :_location,  params[:_location]

  = f.action class: 'hide'

  = render 'locomotive/content_entries/form/tabs', f: f

  = render 'locomotive/content_entries/form/panes', f: f

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms-4.0.0.alpha3 app/views/locomotive/content_entries/edit.html.slim