Mercurial > zeropaste
diff app/views/layouts/_alerts.html.erb @ 473:8a90106a7be2
Seems working
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 23 Feb 2020 22:49:49 +0900 |
parents | 68231013b01b |
children |
line wrap: on
line diff
--- a/app/views/layouts/_alerts.html.erb Sun Feb 23 20:23:09 2020 +0900 +++ b/app/views/layouts/_alerts.html.erb Sun Feb 23 22:49:49 2020 +0900 @@ -1,12 +1,12 @@ <% if notice %> - <div class="alert alert-info"> + <div class="alert alert-info" role="alert"> <strong><%= t(".info") %>:</strong> <%= notice %> </div> <% end %> <% if alert %> - <div class="alert alert-danger"> + <div class="alert alert-danger" role="alert"> <strong><%= t(".error") %>:</strong> <%= alert %> </div>