mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add fields in conference edit form for hours
Make possible to change the start and end hours.
This commit is contained in:
parent
b80aff3cce
commit
9b9d255e3b
2 changed files with 4 additions and 1 deletions
|
|
@ -21,6 +21,8 @@
|
|||
= f.input :timezone, :as => :time_zone, :hint => "The conference time zone"
|
||||
= f.input :start_date, :as => :string, :input_html => { :id => "conference-start-datepicker", :readonly => "readonly" }
|
||||
= f.input :end_date, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
|
||||
= f.input :start_hour, :input_html => {size: 2, type: 'number', min: 0, max: 23}
|
||||
= f.input :end_hour, :input_html => {size: 2, type: 'number', min: 1, max: 24}
|
||||
= 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.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue