Sha256: d7bd2eec632f34a97400dea681fdc2fe780e1aca798b7243818bc2fabdda8a5c

Contents?: true

Size: 702 Bytes

Versions: 28

Compression:

Stored size: 702 Bytes

Contents

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

= locomotive_form_for @custom_field, method: :put, url: custom_fields_select_options_path(current_site, @content_type.slug, @custom_field.name) do |f|

  = f.inputs do
    = f.input :select_options,
      as:             :array,
      collection:     @custom_field.ordered_select_options,
      label:          @custom_field.name,
      placeholder:    true,
      template:       :option,
      template_url:   new_option_custom_fields_select_options_path(current_site, @content_type.slug, @custom_field.name)

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc5 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.rc3 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.rc2 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.rc1 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.pre.beta.1 app/views/locomotive/custom_fields/select_options/edit.html.slim
locomotivecms-3.0.0.pre.alpha.3 app/views/locomotive/custom_fields/select_options/edit.html.haml
locomotivecms-3.0.0.pre.alpha.2 app/views/locomotive/custom_fields/select_options/edit.html.haml