adds close button to alert boxes, also adds

data-alert attribute to enable javascript
on them
This commit is contained in:
Álvaro Durán Tovar
2015-09-06 19:54:09 +02:00
parent 9a6d064b4b
commit 92ae988251
8 changed files with 30 additions and 11 deletions

View File

@@ -15,7 +15,8 @@
<body class="auth-page">
<% if notice %>
<div class="alert-box success alert-layout">
<div data-alert class="alert-box success alert-layout">
<a href="#" class="close">&times;</a>
<div class="row">
<%= notice %>
</div>
@@ -23,7 +24,8 @@
<% end %>
<% if alert %>
<div class="alert-box alert alert-layout">
<div data-alert class="alert-box alert alert-layout">
<a href="#" class="close">&times;</a>
<div class="row">
<%= alert %>
</div>