demarches-normaliennes/app/components/dsfr/notice_component/notice_component.html.haml
2022-09-21 15:47:35 +02:00

9 lines
321 B
Text

.fr-notice.fr-notice--info
.fr-container
.fr-notice__body
%p.fr-notice__title
= title
- if closable?
%button.fr-btn--close.fr-btn{ title: t('.close_notice'), onclick: 'const notice = this.parentNode.parentNode.parentNode; notice.parentNode.removeChild' }
= t('.close_notice')