Add default currencies

This commit is contained in:
Thaleia Tagaraki 2017-12-02 17:59:31 +02:00 committed by Astradeni
parent 33d32b9294
commit ff6497ea46
6 changed files with 11 additions and 4 deletions

View file

@ -12,7 +12,7 @@
= f.input :title, input_html: { autofocus: true }
= f.input :description, input_html: { rows: 5, data: { provide: 'markdown-editable' } }
= f.input :price
= f.input :price_currency, as: :select, class: 'form-control', collection: ['USD', 'EUR', 'GBP', 'INR', 'CNY', 'CHF'], include_blank: false
= f.input :price_currency, as: :select, class: 'form-control', collection: currencies, include_blank: false
= f.input :registration_ticket, hint: 'A registration ticket is with which user register for the conference.'
%p.text-right
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }