Wednesday, 11 September 2013

How i can change color inside @each users do in ruby on rails

How i can change color inside @each users do in ruby on rails

So i have this
<div id="color">
code @each.users do |user|
<% @users.each do |user| %>
<tr>
<td><%= link_to user.name, edit_user_path(user) %></td>
</tr>
<% end %>
And i have inside the application.css
#color {
color:blue
}
But it still stayis in black that text when it lists. Yes, i have in
layout <%= stylesheet_link_tag "application", :media => "all" %> but it
still wont work. It stayis in black what ever I try. So im guessing theres
more than meets the eye? Whats wrong here?

No comments:

Post a Comment