KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I add additional content to a link when using the link_to helper in Rails? link_to "Stephen Weber", "index.html" creates this: <a href="index.html">Stephen Weber</a> But what if I want to create this? <a href="index.html"> <h3>Stephen Weber</h3> <p><strong>You've been invited to a meeting at Filament Group in Boston, MA</strong></p> <p>Hey Stephen, if you're available at 10am tomorrow, we've got a meeting with the jQuery team.</p> <p class="ui-li-aside"><strong>6:24</strong>PM</p> </a> I'm playing around with jQuery Mobile and this is what is required for formatting content in lists.
Tags (comma-separated)
Save Edits
Cancel