Sha256: 4b4bcf4a04eeeb6f290df265b7139c7ecf0c96d103aab3633e99b5f27b9d7331

Contents?: true

Size: 899 Bytes

Versions: 3

Compression:

Stored size: 899 Bytes

Contents

<div class="row" data-hook="new_label_attrs">
  <div class="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 title' %>
      <% f.error_message_on :name %>
    <% end %>
  </div>
  <div class="col-md-6">
    <%= f.field_container :color, :class => ['form-group'] do %>
      <%= f.label :color, Spree.t(:color) %>
      <div class="row">
        <div class="col-md-3">
          <input type="text" id="colorpicker" class="form-control" />
        </div>
        <div class="col-md-9">
          <%= f.text_field :color, class: 'form-control color-text' %>
        </div>
      </div>
      <%= f.error_message_on :color %>
    <% end %>
  </div>
</div>
<script type="text/javascript">
  new window.LabelController('<%= @label.color %>');
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_zaez_variants_labels-3.0.5 app/views/spree/admin/labels/_form.html.erb
spree_zaez_variants_labels-3.0.4 app/views/spree/admin/labels/_form.html.erb
spree_zaez_variants_labels-3.0.1 app/views/spree/admin/labels/_form.html.erb