Sha256: c1e4424c6e8673b71b2c8f642b962c74cd937be3a6c0e88954134cc81665aecd

Contents?: true

Size: 663 Bytes

Versions: 50

Compression:

Stored size: 663 Bytes

Contents

<div data-hook="admin_image_form_fields" class="row">
  <div class="col-xs-12 col-md-6">
    <div data-hook="file" class="form-group">
      <%= f.label :attachment, Spree.t(:filename) %>
      <%= f.file_field :attachment %>
    </div>
    <div data-hook="variant" class="form-group">
      <%= f.label :viewable_id, Spree::Variant.model_name.human %>
      <%= f.select :viewable_id, @variants, {}, {class: 'select2'} %>
    </div>
  </div>
  <div data-hook="alt_text" class="col-xs-12 col-md-6">
    <div class="form-group">
      <%= f.label :alt, Spree.t(:alt_text) %>
      <%= f.text_area :alt, rows: 4, class: 'form-control' %>
    </div>
  </div>
</div>

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
spree_backend-3.4.0 app/views/spree/admin/images/_form.html.erb
spree_backend-3.4.0.rc2 app/views/spree/admin/images/_form.html.erb
spree_backend-3.4.0.rc1 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.2 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.1 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.0 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.0.rc4 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.0.rc3 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.0.rc2 app/views/spree/admin/images/_form.html.erb
spree_backend-3.3.0.rc1 app/views/spree/admin/images/_form.html.erb