Sha256: 83e5dba39b119e939e216f660405c7d63d012b452ffa932763688f8c5020eeab

Contents?: true

Size: 940 Bytes

Versions: 13

Compression:

Stored size: 940 Bytes

Contents

<div data-hook="admin_option_type_form_fields" class="row">
  <div class="col-12 col-md-6">
    <%= f.field_container :name, class: ['form-group'] do %>
      <%= f.label :name, Spree.t(:name) %> <span class="required">*</span>
      <%= 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, class: ['form-group'] do %>
      <%= f.label :presentation, Spree.t(:presentation) %> <span class="required">*</span>
      <%= 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, class: ['form-group'] do %>
      <%= label_tag :option_type_filterable do %>
        <%= f.check_box :filterable %>
        <%= Spree.t(:filterable) %>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.6 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.5 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.4 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.3 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.2 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.1 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.0 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.0.rc4 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.0.rc3 app/views/spree/admin/option_types/_form.html.erb
spree_backend-4.2.0.rc2 app/views/spree/admin/option_types/_form.html.erb