diff --git a/app/views/dashboard/_poll_resource.html.erb b/app/views/dashboard/_poll_resource.html.erb index 6e05a1ab0..774ff28f9 100644 --- a/app/views/dashboard/_poll_resource.html.erb +++ b/app/views/dashboard/_poll_resource.html.erb @@ -1,24 +1,15 @@ <% if can?(:manage_polls, proposal) %> -
- -
-- <%= Setting['proposals.poll_short_title'] %> -
-+ <%= Setting['proposals.poll_short_title'] %> +
-- - <%= t("dashboard.polls.poll.copy_link") %> - -
-- <%= l(poll.starts_at.to_date) %> - <%= l(poll.ends_at.to_date) %> -
-<%= t("dashboard.polls.poll.responses", count: poll.answer_count) %> -
- <%= best_in_place poll, - :results_enabled, - as: :checkbox, - url: proposal_dashboard_poll_url(proposal, poll), - collection: { - false: raw(''), - true: raw('') - } %> - <%= t("dashboard.polls.poll.show_results") %> -
-<%= t("dashboard.polls.poll.show_results_help") %>
-<%= t("dashboard.polls.poll.show_results_help") %>
<%= t("dashboard.polls.index.count", count: @polls.count) %>
<%= link_to t("dashboard.polls.index.create"), new_proposal_dashboard_poll_path(proposal), - class: 'button expanded' %> + class: "button expanded" %>