<% provide :title do %>
  <%= t("admin.header.title") %> - <%= t("admin.menu.proposals") %> - <%= @proposal.title %>
<% end %>

<div class="proposal-show">
  <h2><%= @proposal.title %></h2>

  <% if @proposal.successful? %>
    <div class="callout success">
      <%= t("proposals.proposal.successful") %>

      <div class="float-right">
        <%= link_to t("poll_questions.create_question"),
                    new_admin_question_path(proposal_id: @proposal.id),
                    class: "button medium" %>
      </div>
    </div>
  <% end %>

  <%= render "proposals/info", proposal: @proposal %>
</div>

<%= render "admin/milestones/milestones", milestoneable: @proposal %>
