mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Merge pull request #1089 from internetee/add-clarifying-comment
Add clarifying comment
This commit is contained in:
commit
6a67ea419f
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
<% display = (flash[:notice] || flash[:alert] || flash[:warning]) ? 'block' : 'none' %>
|
||||
<div id="flash" style="display: <%= display %>;">
|
||||
<!-- Used by Mobile-ID login -->
|
||||
<% type = (flash[:notice]) ? 'bg-success' : 'bg-danger' %>
|
||||
<% type = 'bg-warning' if flash[:warning] %>
|
||||
<div class="<%= type %> alert">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue