Sha256: 4b8f76c8acb8bf46156cee84772d6d5b779800e5f55c5a6ec5082032f3e07f51
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
<%= form_with model: @payment_reference, as: :payment_reference, url: admin_payment_method_references_path(@payment_method) do |f| %> <%= f.select :buyer_id, options_for_select([]), { label: 'Buyer', include_blank: true }, { class: 'ui search fluid dropdown' } %> <%= f.submit %> <% end %> <script> $('.ui.dropdown').dropdown({ apiSettings: { url: '/buyers/search?q={query}', beforeSend: function(settings) { return settings; } }, fields: { name: 'name_detail', value: 'id' }, minCharacters: 2 }); </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/admin/payment_references/_form.html.erb |
rails_trade-0.0.2 | app/views/trade/admin/payment_references/_form.html.erb |