add payment mode to conferences for organisers's views

This commit is contained in:
Rishabh Saxena 2016-06-07 21:15:08 +05:30
parent f14d470738
commit f952dd7c9b
3 changed files with 19 additions and 1 deletions

View file

@ -10,5 +10,14 @@
= f.input :timezone, as: :time_zone, hint: 'Please select in what time zone your conference will take place.'
= f.input :start_date, as: :string, input_html: { id: 'conference-start-datepicker', required: 'required' }
= f.input :end_date, as: :string, input_html: { id: 'conference-end-datepicker', required: 'required' }
= f.inputs name: "Tickets" do
= f.label :payment_method
.btn-group{"data-toggle" => :payment_method, class: "pull-right"}
%label.btn.btn-default
= f.radio_button :payment_method, 'online'
Pay Online
%label.btn.btn-default
= f.radio_button :payment_method, 'offline'
Pay at the venue
= f.actions do
= f.action :submit, button_html: {class: 'btn btn-success pull-right'}