Using `<%==` is the same as using `raw`. I'm not sure if we meant `sanitize` in this case, or it's just a typo. I'm assuming the latter since we don't use anything similar in any other places.
26 lines
937 B
Plaintext
26 lines
937 B
Plaintext
<% content_for :action_title, t("dashboard.polls.index.title") %>
|
|
<div class="row expanded">
|
|
<div class="small-12 medium-9 column">
|
|
<%= Setting["proposals.poll_description"] %>
|
|
|
|
<% if @polls.any? %>
|
|
<div class="row expanded margin-top" data-equalizer="poll-cards" data-equalize-on="medium">
|
|
<%= render @polls %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="small-12 medium-3 column">
|
|
<% if Setting["proposals.poll_link"].present? %>
|
|
<h4><%= t("dashboard.polls.index.links") %></h4>
|
|
<%= link_to t("dashboard.polls.index.additiontal_information"),
|
|
Setting["proposals.poll_link"], target: "_blank" %>
|
|
<% end %>
|
|
|
|
<p><strong><%= t("dashboard.polls.index.count", count: @polls.count) %></strong></p>
|
|
<%= link_to t("dashboard.polls.index.create"),
|
|
new_proposal_dashboard_poll_path(proposal),
|
|
class: "button expanded" %>
|
|
</div>
|
|
</div>
|