mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 14:01:48 +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 %> |