Hello, I’ve just started using RoR this month, and am building a web
app to help me learn the framework and the ruby language.
I have a basic and hopefully straightforward question for you guys,
since I can’t seem to find the answer on the internet or in my copy of
I thought I posted this same question here yesterday but now couldn’t
find it, and was told that I’m not even in the group?? If someone
remembers seeing a similar question, please do tell, I feel like it’s
not here, but I hate it when people re-post questions so I hope I’m
not doing the same.
buttons. I would like to use these buttons with link_to and
link_to_remote. I haven’t yet figured out a way to get the generated
anchor tags to nest other page elements inside. Now I have the
buttons, but I have to click the text to get the link to work rather
than having the whole div and everything in it act as a link.
I’m doing this now:
which of course generates something like<div class="button> <a... </div> <p>and I want</p> <p><a …<br> <div… /div><br> </a></p> <p>Any suggestions?</p>