I have a large div:
.limeskin:hover {
background: #eee;
cursor: pointer;
display: block;
}
that I want to be clickable. Because I'm using Rails I need to have a Rails link be clickable: For example
<%= link_to 'Edit Your Email Address', edit_user_path %>
I'm struggling to this.
Here is the whole block:
<% @user.posts.each do |post| %>
<div class="lists">
<ol class="limeposts">
<li>
<div class="limeskin">
<div class="limebox">
<div class="limecost">
<b>Price:</b>
<%= number_to_currency(post.price, :unit => "R") %><br>
[...]
<% end %>
Any simple legal workable answers?
Thanks