Sha256: a3d42282b0ae1bfaf13ce8872efa23785a25e5cffb38793fc82aea0befc52447

Contents?: true

Size: 973 Bytes

Versions: 12

Compression:

Stored size: 973 Bytes

Contents

<div data-hook="admin_option_type_form_fields" class="row">
  <div class="col-12 col-md-6">
    <%= f.field_container :name do %>
      <%= f.label :name, raw(Spree.t(:name) + required_span_tag) %>
      <%= f.text_field :name, class: "form-control" %>
      <%= f.error_message_on :name %>
    <% end %>
  </div>

  <div class="col-12 col-md-6">
    <%= f.field_container :presentation do %>
      <%= f.label :presentation, raw(Spree.t(:presentation) + required_span_tag) %>
      <%= f.text_field :presentation, class: "form-control" %>
      <%= f.error_message_on :presentation %>
    <% end %>
  </div>

  <div class="col-12 col-md-6">
    <%= f.field_container :filterable do %>
      <%= label_tag :option_type_filterable do %>
        <%= f.check_box :filterable %>
        <%= Spree.t(:filterable) %>
      <% end %>
      <small class="form-text text-muted">
        <%= raw Spree.t('option_type_filterable_info') %>
      </small>
    <% end %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.8.3 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.8.2 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.8.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.7.2 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.6.2 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.7.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.7.0 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.6.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.6.0 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.5.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.5.0 app/views/spree/admin/option_types/_form.html.erb