Added alert to layouts on scaffold.

This commit is contained in:
José Valim 2010-03-09 22:21:51 +01:00
parent 00d6271d2b
commit 6cee532a44
2 changed files with 5 additions and 0 deletions

@ -9,6 +9,7 @@
<body>
<p class="notice"><%%= notice %></p>
<p class="alert"><%%= alert %></p>
<%%= yield %>

@ -24,6 +24,10 @@ div.field, div.actions {
color: green;
}
.alert {
color: red;
}
.fieldWithErrors {
padding: 2px;
background-color: red;