osem-fcy/app/views/admin/registration_periods/_form.html.haml
luzpaz 7d9739349b Fix various typos
Fixes user-facing and non-user-facing typos

Found via `codespell -S "./vendor" -L ontext,rememberable,ridiculus,varius`
2025-10-15 11:15:47 +00:00

20 lines
926 B
Text

%p
Setup the time frame in which people can register to your conference
= form_for(@registration_period, url: admin_conference_registration_period_path(@conference.short_title)) do |f|
.form-group
= f.label :start_date
%abbr{title: 'This field is required'} *
%p.small
Must be before conference end (#{@conference.end_date}) and the end date
- if @registration_period.end_date
(#{@registration_period.end_date})
below
= f.date_field :start_date, required: true, class: 'form-control', max: @conference.end_date, required: true
.form-group
= f.label :end_date
%abbr{title: 'This field is required'} *
%p.small
Must be before conference end (#{@conference.end_date})
= f.date_field :end_date, required: true, class: 'form-control', max: @conference.end_date, required: true
%p.text-right
= f.submit 'Save Registration Period', class: 'btn btn-primary'