ensl.org/app/views/widgets/_shoutbox.html.erb
Luke Barratt 12ed7c90ae Start to cleanup old assets
Added new ISO country code flag icons to asset pipeline
Lots and lots of new style changes
Began converting to JS to coffeescript
2014-04-09 00:28:53 +01:00

13 lines
No EOL
557 B
Text

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