mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixed registration limit issue
This commit is contained in:
parent
a826bb9d1e
commit
3655c80feb
1 changed files with 1 additions and 1 deletions
|
|
@ -24,5 +24,5 @@
|
|||
= 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.input :registration_limit, as: :number, in: 0..9999, hint: "Limit the number of registrations to the conference (0 no limit). You currently have " + pluralize(@conference.registrations.count,'registration')
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue