Files
openfoodnetwork/app/views/admin/subscriptions/_new_subscription_dialog.html.haml
Ashwini Seshadri edee5c693b Changed new subscription dialog to use tom-select from select2
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00

9 lines
556 B
Plaintext

#new-subscription-dialog
.text-normal.margin-bottom-30.text-center
= t('js.admin.subscriptions.new.please_select_a_shop')
= form_with url: "/admin/subscriptions/new", method: :get do |f|
.text-left.margin-bottom-30
= select_tag "subscription[shop_id]", options_from_collection_for_select(@shops, "id", "name"), { "data-controller": "tom-select", "data-dependant-select-target": "source", "data-action": "dependant-select#handleSelectChange", class: "primary" }
.text-center
= f.submit "Continue", class: "button red icon-plus"