ensl.org/app/views/shoutmsgs/_shoutmsg.html.erb
Luke Barratt 37e768c68f Switched web server to puma
Added styling to gathers page
Added styling to account page
Improved forms styling
2014-04-15 10:59:52 +01:00

12 lines
342 B
Text

<div class="shoutmsg">
<% if shoutmsg.can_destroy? cuser %>
<%= link_to icon('times'), shoutmsg, method: :delete %>
<% end %>
<span class="timestamp">
<%= shoutmsg.created_at ? shoutmsg.created_at.strftime("%H:%M") : Time.now.strftime("%H:%M") %>
</span>
<%= namelink shoutmsg.user %>:
<%= shoutmsg.text %><br />
</div>