<%= fields_for param_prefix, benefit do |form| %>
  <div class="form-group">
    <%= form.label :preferred_variant_id %>
    <%= form.text_field :preferred_variant_id, is: "variant-picker", class: "fullwidth" %>
  </div>
  <div class="form-group">
    <%= form.label :preferred_quantity %>
    <%= form.number_field :preferred_quantity, class: "fullwidth" %>
  </div>
  <div class="form-group">
    <%= form.label :preferred_necessary_quantity %>
    <%= form.number_field :preferred_necessary_quantity, class: "fullwidth" %>
  </div>
<% end %>

<%= render(
  "solidus_promotions/admin/benefit_fields/calculator_fields",
  benefit: benefit,
  param_prefix: param_prefix,
  form: form
) %>
