Links  

Editing Topic

Subject

Message

<h1><%= @post.send("subject") %></h1>
  <%= "<a href='mailto:#{@post.send("email")}'>" if @post.send("email") and @post.send("email") != "" %>
  <%= @post.send("author") %></a>
  <%= "| <a href='#{@post.send("url")}'>url</a>" if @post.send("url") and @post.send("url") != "" %>
  <br>
  on <%= @post.send("created_at") %>
<p>
<%= @post.send("message") %>
<p>
<% if @comments.length > 0 %>
  <table>
  <tr>
    <td width=20> </td>
    <td> <p><b>Comments (<%=@comments.length%>)</a></td>
  </tr>

  <% for entry in @comments %>
  <tr><td> </td>
      <td>
        <%= entry.send("message") %>
        <br><font style="font-size: 10px">
        <%= "<a href='mailto:#{entry.send("email")}'>" if entry.send("email") and entry.send("email") != "" %>
        <%= entry.send("author") %></a>
        <%= "| <a href='#{entry.send("url")}'>url</a>" if entry.send("url") and entry.send("url") != "" %>
        <br>on <%= entry.send("created_at") %>
        [<%= link_to "Delete", :action => "destroy_comment", :id => entry.id %>]
        </font>
        <p> 
      </td>
  </tr>
  <% end %>
  </table>
<% end %>

Author

Email

Url

Created at
:

Show | Back