ensl.org/app/views/widgets/_shoutbox.html.erb
Luke Barratt 180ab8a408 Prefer 1.9 hash syntax
Remove unused log entries?
2014-05-19 21:44:47 +01:00

11 lines
No EOL
529 B
Text

<div class="widget shoutbox">
<h4><%= t('widget.shoutbox') %></h4>
<div class="widget-content-wrapper">
<div id="shoutbox" class="transcript">
<%= render partial: "shoutmsgs/shoutmsg", collection: Shoutmsg.recent.box, locals: { popup: "$('shoutbox')" } %>
</div>
</div>
<%= render partial: "shoutmsgs/new", locals: { shoutmsg: Shoutmsg.new } %>
<%= link_to "Shoutbox Recent History", controller: :shoutmsgs, action: "index" %><br/>
<%= link_to "Shoutbox Rules", article_path(Article::SB_RULES) %>
</div>