Sha256: b020967589262797c6ae649f58265877c8ec9663ec5f30b3a4854550383d7234

Contents?: true

Size: 528 Bytes

Versions: 4

Compression:

Stored size: 528 Bytes

Contents

<div data-hook="admin_image_form_fields">
  <tr data-hook="file">
    <td><%= t(:filename) %>:</td>
    <td><%= f.file_field :attachment %></td>
  </tr>
  <% if @product.has_variants? %>
    <tr data-hook="variant">
      <td><%= Spree::Variant.model_name.human %>:</td>
      <td><%= f.select :viewable_id, @variants %></td>
    </tr>
  <% else %>
    <%= hidden_field_tag :product_id, @product.id %>
  <% end %>
  <tr data-hook="alt_text">
    <td><%= t(:alt_text) %>:</td>
    <td><%= f.text_area :alt %></td>
  </tr>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-1.2.0.rc2 app/views/spree/admin/images/_form.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/images/_form.html.erb
spree_core-1.1.3 app/views/spree/admin/images/_form.html.erb
spree_core-1.1.2 app/views/spree/admin/images/_form.html.erb