comparison app/views/layouts/_alerts.html.erb @ 379:2ad092e60975

[mq]: new-design
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:35:12 +0900
parents
children 62fef621f39c
comparison
equal deleted inserted replaced
378:e84276bf344a 379:2ad092e60975
1 <% if params[:notice] %>
2 <div class="alert alert-info">
3 <strong>Info:</strong>
4 <%= params[:notice] %>
5 </div>
6 <% end %>
7
8 <% if @paste && @paste.errors.any? %>
9 <div class="alert alert-danger">
10 <strong>Error:</strong>
11 <%= @paste.errors.full_messages.to_sentence %>
12 </div>
13 <% end %>