view app/views/layouts/_alerts.html.erb @ 402:a18e19139f57

Markdown preview \o/
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:20:50 +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 %>