Fix code of conduct during the registration
This commit is contained in:
parent
3e36235e55
commit
f777efe7c0
2 changed files with 10 additions and 10 deletions
|
|
@ -1,8 +1,11 @@
|
|||
- if @conference.code_of_conduct.present?
|
||||
%h4
|
||||
Code of Conduct for
|
||||
= @conference.short_title
|
||||
= markdown @conference.code_of_conduct
|
||||
- if @registration.accepted_code_of_conduct
|
||||
= icon 'fa-solid', 'square-check'
|
||||
I have read and accepted the
|
||||
= link_to "Code of Conduct", code_of_conduct_conference_path(@conference.short_title)
|
||||
I have read and accepted the Code of Conduct
|
||||
- else
|
||||
.checkbox
|
||||
%label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue