view app/views/layouts/_alerts.html.erb @ 386:bf9e350f8a2b

Add styling to the alerts.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 10:24:35 +0900
parents 62fef621f39c
children 16f1b4f8ce94
line wrap: on
line source

<% if notice %>
  <div class="alert alert-info">
    <strong>Info:</strong>
    <%= notice %>
  </div>
<% end %>

<% if alert %>
  <div class="alert alert-danger">
    <strong>Error:</strong>
    <%= alert %>
  </div>
<% end %>