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