Mercurial > zeropaste
view app/views/layouts/_alerts.html.erb @ 383:af27800e9a0d
As it turned out delegating with `.click` doesn't work.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 07 Jun 2015 02:57:41 +0900 |
parents | 2ad092e60975 |
children | 62fef621f39c |
line wrap: on
line source
<% if params[:notice] %> <div class="alert alert-info"> <strong>Info:</strong> <%= params[:notice] %> </div> <% end %> <% if @paste && @paste.errors.any? %> <div class="alert alert-danger"> <strong>Error:</strong> <%= @paste.errors.full_messages.to_sentence %> </div> <% end %>