mmsc_app/app/views/public/shared/_flashes.html.haml
2020-07-07 14:39:39 +02:00

15 lines
333 B
Plaintext

-if flash[:error] or flash[:notice] or flash[:alert]
.flashs
-if flash[:error]
.error
%span.remove=ic :times
=flash[:error]
-if flash[:notice]
.notice
%span.remove=ic :times
=flash[:notice]
-if flash[:alert]
.alert
%span.remove=ic :times
=flash[:alert]