Retrospring/app/views/shared/_announcements.haml

7 lines
251 B
Plaintext
Raw Normal View History

.container.announcements
- @active_announcements.each do |announcement|
.alert.alert-announcement
%p= announcement.content
- if announcement.link_present?
%a.alert-link{ href: announcement.link_href }= announcement.link_text