We're choosing the default `with_first_argument` style because it's the one we use the most.
17 lines
591 B
Plaintext
17 lines
591 B
Plaintext
<% if can?(:manage_polls, proposal) %>
|
|
<div class="small-12 medium-6 large-3 column end">
|
|
<div class="resource-card" data-equalizer-watch="resources">
|
|
<h4><%= t("dashboard.menu.polls") %></h4>
|
|
<p class="resource-description">
|
|
<%= Setting["proposals.poll_short_title"] %>
|
|
</p>
|
|
|
|
<div class="small-12 column small-centered margin-top">
|
|
<%= link_to t("dashboard.resource.view_resource"),
|
|
proposal_dashboard_polls_path(proposal.to_param),
|
|
class: "button expanded" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|