It does not really work...

This commit is contained in:
Astradeni 2018-03-17 17:39:55 +02:00
parent ff6497ea46
commit 8f3f978439
2 changed files with 2 additions and 2 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: 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' }

View file

@ -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"