2024-06-07 17:35:41 +02:00
|
|
|
- if @conference.code_of_conduct.present?
|
2025-01-30 17:08:29 +01:00
|
|
|
%h4
|
|
|
|
|
Code of Conduct for
|
|
|
|
|
= @conference.short_title
|
|
|
|
|
= markdown @conference.code_of_conduct
|
2018-03-16 16:23:01 -07:00
|
|
|
- if @registration.accepted_code_of_conduct
|
2022-05-18 06:31:12 +02:00
|
|
|
= icon 'fa-solid', 'square-check'
|
2025-01-30 17:08:29 +01:00
|
|
|
I have read and accepted the Code of Conduct
|
2018-03-16 16:23:01 -07:00
|
|
|
- else
|
2022-02-23 17:52:16 +01:00
|
|
|
.checkbox
|
|
|
|
|
%label
|
|
|
|
|
= f.check_box :accepted_code_of_conduct, required: true
|
|
|
|
|
I have read and accept the
|
2024-06-07 17:35:41 +02:00
|
|
|
= link_to "Code of Conduct", code_of_conduct_conference_path(@conference.short_title)
|
2022-02-23 17:52:16 +01:00
|
|
|
%abbr{title: 'This field is required'} *
|
2016-06-28 18:16:06 +03:00
|
|
|
|
2016-04-22 18:18:46 +03:00
|
|
|
- if @conference.program.events.with_registration_open.any? || @registration.events.any?
|
2022-02-23 17:52:16 +01:00
|
|
|
%h4
|
|
|
|
|
Pre-registration required for the following:
|
|
|
|
|
- @registration.events_ordered.each do |event|
|
|
|
|
|
%label
|
|
|
|
|
= hidden_field_tag "registration[event_ids][]", nil
|
|
|
|
|
= check_box_tag "registration[event_ids][]", event.id, event.registrations.include?(@registration)
|
|
|
|
|
= event.title
|
|
|
|
|
.text-muted
|
|
|
|
|
= registered_text(event)
|
|
|
|
|
- if event.scheduled?
|
|
|
|
|
(Scheduled on: #{event.time.to_date})
|
|
|
|
|
%br
|