<%= render "/shared/author_info", resource: @proposal %>  •  <%= l @proposal.created_at.to_date %> <% unless @proposal.selected? %>  •    <%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %> <% end %> <% if current_user %>  •  <%= render "shared/flag_actions", flaggable: @proposal %> <% end %>
<%= render_image(@proposal.image, :large, true) if @proposal.image.present? %>
<% unless @proposal.selected? %>

<%= t("proposals.show.code") %> <%= @proposal.code %>

<% end %>
<%= @proposal.summary %>
<% if @proposal.video_url.present? %>
<% end %> <%= auto_link_already_sanitized_html wysiwyg(@proposal.description) %> <% if feature?(:map) && map_location_available?(@proposal.map_location) %>
<%= render_map(@proposal.map_location, "proposal", false, nil) %>
<% end %> <% if @proposal.video_url.present? %> <% end %> <% if @proposal.retired? %>

<%= t("proposals.show.retired") %>: <%= t("proposals.retire_options.#{@proposal.retired_reason}") unless @proposal.retired_reason == "other" %>

<%= simple_format sanitize_and_auto_link(@proposal.retired_explanation), {}, sanitize: false %>
<% end %> <% if feature?(:allow_attached_documents) %> <%= render "documents/documents", documents: @proposal.documents, max_documents_allowed: Proposal.max_documents_allowed %> <% end %> <%= render "shared/tags", taggable: @proposal %>