Sha256: 7786673553e82e9d500c7828ac9748637aed89a88d00498c0adbb46a2df6b4c2

Contents?: true

Size: 791 Bytes

Versions: 5

Compression:

Stored size: 791 Bytes

Contents

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

- content_for :actions do
  .main-action
    = link_to content_entry_import_path(current_site, @content_type.slug), class: 'btn btn-primary btn-sm' do
      i.fas.fa-tachometer-alt
      |  
      = t('.show')

    |  
    |  

    = 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 @import, url: content_entry_import_path(current_site, @content_type.slug) do |f|

  = f.inputs :information do
    = f.input :file, as: :file

    = f.input :col_sep
    = f.input :quote_char
  
  = f.actions back_url: content_entries_path(current_site, @content_type.slug), use_stored_location: true

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/content_entry_imports/new.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/content_entry_imports/new.html.slim
locomotivecms-4.1.1 app/views/locomotive/content_entry_imports/new.html.slim
locomotivecms-4.1.0 app/views/locomotive/content_entry_imports/new.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/content_entry_imports/new.html.slim