Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove inline css. [#593 status:resolved]

  • Loading branch information...
commit 5096ba961c49e5b419c3400acd7c87373a36d6d4 1 parent 5d645c2
José Valim josevalim authored
2  railties/lib/generators/erb/scaffold/templates/layout.html.erb
View
@@ -7,7 +7,7 @@
</head>
<body>
-<p style="color: green"><%%= flash[:notice] %></p>
+<p class="notice"><%%= flash[:notice] %></p>
<%%= yield %>
4 railties/lib/generators/rails/stylesheets/templates/scaffold.css
View
@@ -20,6 +20,10 @@ div.attribute, div.action {
margin-bottom: 10px;
}
+.notice {
+ color: green;
+}
+
.fieldWithErrors {
padding: 2px;
background-color: red;

2 comments on commit 5096ba9

Clemens Kofler

Finally ...

Andrew Chalkley

Yes!

Please sign in to comment.
Something went wrong with that request. Please try again.