2022-04-08 18:17:23 +00:00
|
|
|
% layout 'single_message';
|
2022-04-05 02:56:45 +00:00
|
|
|
% title 'View';
|
|
|
|
<h2>Messages from the World Wide Web</h2>
|
2022-04-08 17:47:33 +00:00
|
|
|
<% if (@$view_post[0]) { =%>
|
2022-04-05 02:56:45 +00:00
|
|
|
<div class="articles">
|
|
|
|
<article>
|
2022-04-07 02:44:05 +00:00
|
|
|
<span class="message_id field">
|
2022-04-08 17:47:33 +00:00
|
|
|
<%= link_to "#@$view_post[4]", "/message/@$view_post[4]" %>
|
2022-04-07 02:44:05 +00:00
|
|
|
</span>
|
2022-04-05 02:56:45 +00:00
|
|
|
<h3><%= @$view_post[0] %></h3>
|
|
|
|
<div class="message field">
|
|
|
|
<blockquote><p><%= @$view_post[2] %></p></blockquote>
|
|
|
|
</div>
|
|
|
|
<div class="name field">
|
|
|
|
<p style="margin: 0 0 0 0;">
|
|
|
|
- <%= @$view_post[1] %>
|
|
|
|
<% if (@$view_post[3]) { =%>
|
|
|
|
(<%= link_to Homepage => @$view_post[3] %>)
|
|
|
|
<% } =%>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
2022-04-08 17:47:33 +00:00
|
|
|
<% } =%>
|