<% if params[:retired].present? %>
  <div class="sidebar-divider"></div>
  <h2 class="sidebar-title"><%= t("proposals.index.retired_proposals") %></h2>

  <div class="sidebar-links">
    <%= link_to t("proposals.index.retired_links.all"), proposals_path(retired: "all") %>
    <% Proposal::RETIRE_OPTIONS.each do |option| %>
      <%= link_to t("proposals.index.retired_links.#{option}"), proposals_path(retired: option) %>
    <% end %>
  </div>
<% end %>
