Use select2

This commit is contained in:
Rohan Mitchell
2015-11-04 11:25:15 +11:00
parent 83c0093665
commit 85e45fa558

View File

@@ -7,7 +7,7 @@
.omega.three.columns
= f.field_container :tax_rate_id do
= f.label :tax_rate_id, t(:tax)
= select_tag :tax_rate_id, options_from_collection_for_select(Spree::TaxRate.all, :id, :name), prompt: t(:none), class: 'fullwidth'
= select_tag :tax_rate_id, options_from_collection_for_select(Spree::TaxRate.all, :id, :name), prompt: t(:none), class: 'select2 fullwidth'
= f.error_message_on :tax_rate_id
.row
.alpha.omega.twelve.columns