Skip to content

Commit

Permalink
add maximum validation for bsv_days for attendance
Browse files Browse the repository at this point in the history
  • Loading branch information
ewangler committed Apr 28, 2024
1 parent 38ce464 commit 47d167b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/event/attendances/_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
= number_field_tag("bsv_days[#{p.id}]",
p.bsv_days || @event.bsv_days,
min: 0,
max: @event.bsv_days,
step: 0.5,
size: 10,
class: 'form-control form-control-sm float-start w-25')
Expand Down

0 comments on commit 47d167b

Please sign in to comment.