Post#show

Erb code posted
created at 31 May 00:03

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="post">
  <div class="header">
    <div class="title">
      <%= @post.title %>
    </div>
    <div class="date">
      <%= format_date @post.created_at %>
    </div>
    <%= clear %>
  </div>
  <%= clear %>
  <div class="body">
    <%= textile_to_html @post.body %>  
  </div>
  <div class="footer">
    <div class="comments">
      <%= pluralize @post.comments.count, "comment" %>
    </div>
  </div>
</div>
439 Bytes in 3 ms with coderay