diff --git a/app/views/proposals/show.html.erb b/app/views/proposals/show.html.erb index ac95ee0f2..63143ec52 100644 --- a/app/views/proposals/show.html.erb +++ b/app/views/proposals/show.html.erb @@ -164,35 +164,37 @@ <% end %> - <% if @proposal.published? %> -
-- <%= t("proposals.proposal.successful", - voting: link_to(t("proposals.proposal.voting"), polls_path)).html_safe %> +
+<%= t '.draft' %>
+ <% elsif @proposal.successful? %> ++ <%= t("proposals.proposal.successful", + voting: link_to(t("proposals.proposal.voting"), polls_path)).html_safe %> +
+ <% if can? :create, Poll::Question %> ++ <%= link_to t('poll_questions.create_question'), + new_admin_question_path(proposal_id: @proposal.id), + class: "button hollow expanded" %>
- <% if can? :create, Poll::Question %> -- <%= link_to t('poll_questions.create_question'), - new_admin_question_path(proposal_id: @proposal.id), - class: "button hollow expanded" %> -
- <% end %> - <% elsif @proposal.archived? %> -- <%= t("proposals.proposal.supports", count: @proposal.total_votes) %> -
-<%= t("proposals.proposal.archived") %>
-+ <%= t("proposals.proposal.supports", count: @proposal.total_votes) %> +
+<%= t("proposals.proposal.archived") %>
+