Created
November 1, 2017 08:36
-
-
Save domagude/4f6900c6aeb1a0ee8d70b5fc33fb4a07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="single-post-list" id=<%= post_path(post.id) %>> | |
<%= truncate(post.title, :length => 60) %> | |
<div class="post-content"> | |
<div class="posted-by">Posted by <%= post.user.name %></div> | |
<h3><%= post.title %></h3> | |
<p><%= post.content %></p> | |
<%= link_to "I'm interested", post_path(post.id), class: 'interested' %> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment