<BODY> of the views in a "scaffolded" Ruby on Rails 3 web-app
do you know how can i modify the <BODY>
tag of the rendered htmls files of my app's views?
I mean, i can manually edit the html, but the <BODY>
tag is added automatic in run ti开发者_如何转开发me...
And i'd like to do something like
<body bgcolor="#0000FF">
Thanks!
You need to edit the application.html.erb
in the layouts subfolder of views in your application.
Of course, you'd be much better of doing this in a stylesheet rather than the markup directly :)
精彩评论