mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-16 01:41:23 +00:00
8 lines
No EOL
230 B
Text
8 lines
No EOL
230 B
Text
<% if @current_action == "news_index" %>
|
|
<div class="widget poll">
|
|
<h4><%= t('widget.poll') %></h4>
|
|
|
|
<% @poll = Poll.first(order: "created_at DESC") %>
|
|
<%= render(partial: "polls/show") if @poll %>
|
|
</div>
|
|
<% end %> |