<div data-hook="admin_image_form_fields">
  <div class="row">
    <div class="col-3">
      <div data-hook="file" class="field">
        <%= f.label :attachment %><br>
        <%= f.file_field :attachment %>
      </div>
      <div data-hook="variant" class="field">
        <%= f.label :viewable_id, Spree::Variant.model_name.human %><br>
        <%= f.select :viewable_id, @variants, {}, { class: 'custom-select fullwidth' } %>
      </div>
    </div>
    <div data-hook="alt_text" class="field col-4">
      <%= f.label :alt %><br>
      <%= f.text_area :alt, rows: 4, class: 'fullwidth' %>
    </div>
  </div>
</div>

<div class="clear"></div>
