Clean Up Links On The Topics List
Goals
Steps
Step 1: Remove the 'Show this topic' links
<p> <%= link_to "Show this topic", topic %> </p>Step 2: Turn it into a real list
<ul id="topics"> <% @topics.each do |topic| %> <li id="<%= dom_id topic %>"> <%= link_to topic.title, topic %> <%= pluralize(topic.votes.count, "vote") %> <%= button_to '+1', upvote_topic_path(topic), method: :post %> </li> <% end %> </ul>Step 3: Add some CSS to get the button in line
ul#topics form { display: inline; }Step 4: Confirm your changes
Explanation
Now would be a good time to commit to git
Next Step:
Go on to Credits And Next Steps