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

@ -23,4 +23,13 @@
= f.input :end_date, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
= f.inputs name: "Registrations" do
= f.input :registration_limit, as: :number, in: 0..9999, hint: "Limit the number of registrations to the conference (0 no limit)"
= 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.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}