Added alert to layouts on scaffold.
This commit is contained in:
parent
00d6271d2b
commit
6cee532a44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user