Skip to content

Commit

Permalink
Multiline academic group message
Browse files Browse the repository at this point in the history
  • Loading branch information
mpugach committed Mar 12, 2023
1 parent b9b0cf7 commit c7f47cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/academic_groups/_tab_general.html.haml
Expand Up @@ -37,7 +37,9 @@
.col-xs-3.col-sm-2
= t('static_pages.home.message_for_group')
.col-xs-9.col-sm-10
= academic_group["message_#{locale}"]
- academic_group["message_#{locale}"].split("\n").each do |message_part|
= message_part
%br

- if [academic_group.curator, academic_group.administrator, academic_group.praepostor].any?
%h4.col-xs-12.text-center
Expand Down

0 comments on commit c7f47cd

Please sign in to comment.