Expose Conference.code_of_conduct

This commit is contained in:
Henne Vogelsang 2024-06-07 17:35:41 +02:00
parent 85149dc837
commit 9f1e877ea0
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
10 changed files with 33 additions and 31 deletions

View file

@ -27,3 +27,9 @@
- if contact.email?
= mail_to "#{ contact.email }" do
%i.fa-solid.fa-envelope.fa-4x
.row
.col-md-12
- if @conference.code_of_conduct.present?
%hr
%p.text-center
= link_to "Code of Conduct", code_of_conduct_conference_path(@conference.short_title)