It does not really work...
This commit is contained in:
parent
ff6497ea46
commit
8f3f978439
2 changed files with 2 additions and 2 deletions
|
|
@ -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: currencies, include_blank: false
|
||||
= f.input :price_currency, as: :select, class: 'form-control', collection: %W(#{ENV['OSEM_DEFAULT_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' }
|
||||
|
|
|
|||
|
|
@ -81,4 +81,4 @@ RECAPTCHA_SECRET_KEY=""
|
|||
# The url of the redis server
|
||||
OSEM_REDIS_URL='redis://localhost:6379/1'
|
||||
|
||||
OSEM_DEFAULT_CURRENCIES="['USD', 'EURO', 'GBP', 'INR', 'CNY']"
|
||||
OSEM_DEFAULT_CURRENCIES="USD EURO GBP INR CNY"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue