summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAlessandro Desantis <desa.alessandro@gmail.com>2020-06-15 15:04:32 +0200
committerAlessandro Desantis <desa.alessandro@gmail.com>2020-06-15 15:04:46 +0200
commit05c9c64438a930a3c3871b09cd2c4e38ac986d74 (patch)
treef095850a8ceb2e957fcda0809234f70dc4fd26e2 /app/views
parent7362a64f978e4f9a499f18e80f05b62457b4527c (diff)
Add store field to subscription creation form in backend
Diffstat (limited to 'app/views')
-rw-r--r--app/views/spree/admin/subscriptions/_form.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/spree/admin/subscriptions/_form.html.erb b/app/views/spree/admin/subscriptions/_form.html.erb
index 0c218a6..4179d78 100644
--- a/app/views/spree/admin/subscriptions/_form.html.erb
+++ b/app/views/spree/admin/subscriptions/_form.html.erb
@@ -47,6 +47,11 @@
<%= f.label :end_date %>
<%= f.text_field :end_date, class: "fullwidth datepicker" %>
</div>
+
+ <div class="field">
+ <%= f.label :store_ids, plural_resource_name(Spree::Store) %>
+ <%= f.collection_select :store_id, Spree::Store.all, :id, :name, {}, class: 'fullwidth select2' %>
+ </div>
</div>
<%= f.fields_for :line_items do |lf| %>