mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Registrar: fixed login flash message
This commit is contained in:
parent
8df6b3bdd1
commit
bcb283e2f1
2 changed files with 82 additions and 78 deletions
|
@ -1,4 +1,4 @@
|
|||
- if flash[:notice].present? || flash[:alert].present?
|
||||
#flash
|
||||
- type = (flash[:notice]) ? 'bg-success' : 'bg-danger'
|
||||
.alert{class: type}= flash[:notice] || flash[:alert]
|
||||
- display = (flash.empty?) ? 'none' : 'block'
|
||||
#flash{style: "display: #{display};"}
|
||||
- type = (flash[:notice]) ? 'bg-success' : 'bg-danger'
|
||||
.alert{class: type}= flash[:notice] || flash[:alert]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue