<h3 class="proposal-title">
  <%= link_to proposal.title, proposal %>
</h3>

<% if proposal.retired? %>
  <div class="label alert">
    <%= t("layouts.dashboard.proposal_header.retired") %>
  </div>
<% elsif proposal.published? %>
  <div class="label success">
    <%= t("layouts.dashboard.proposal_header.published") %>
  </div>
<% else %>
  <div class="label primary">
    <%= t("layouts.dashboard.proposal_header.draft") %>
  </div>
<% end %>

<% if content_for?(:action_title) %>
  <h3 class="title"><%= yield(:action_title) %></h3>
<% end %>
