# HG changeset patch # User Edho Arief # Date 1349301870 -25200 # Node ID 8ef70e8c239d357910741430dfab2e79ecc32474 # Parent f957ce997ff049d45ca5f515c99dd06889a30b29 Bootstrap-styled error message. diff -r f957ce997ff0 -r 8ef70e8c239d app/views/pastes/_form.html.erb --- a/app/views/pastes/_form.html.erb Thu Oct 04 04:50:22 2012 +0700 +++ b/app/views/pastes/_form.html.erb Thu Oct 04 05:04:30 2012 +0700 @@ -1,7 +1,7 @@ <%= form_for(@paste) do |f| %> <% if @paste.errors.any? %> -
-

<%= pluralize(@paste.errors.count, "error") %> prohibited this paste from being saved:

+
+
<%= pluralize(@paste.errors.count, "error") %> prohibited this paste from being saved:
    <% @paste.errors.full_messages.each do |msg| %>