1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove inline css. [#593 status:resolved]

This commit is contained in:
José Valim 2009-08-30 17:04:16 +02:00
parent 5d645c271b
commit 5096ba961c
2 changed files with 5 additions and 1 deletions

View file

@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<p style="color: green"><%%= flash[:notice] %></p> <p class="notice"><%%= flash[:notice] %></p>
<%%= yield %> <%%= yield %>

View file

@ -20,6 +20,10 @@ div.attribute, div.action {
margin-bottom: 10px; margin-bottom: 10px;
} }
.notice {
color: green;
}
.fieldWithErrors { .fieldWithErrors {
padding: 2px; padding: 2px;
background-color: red; background-color: red;