<% if @collaborative_draft.published? %>
<%= cell "decidim/proposals/collaborative_draft_link_to_proposal", @collaborative_draft %>
<% else %>
<%= resource_version_number(@collaborative_draft.versions_count, "text-large") %>
<%= resource_version_of(@collaborative_draft.versions_count) %>
<%= link_to_other_resource_versions(collaborative_draft_versions_path(@collaborative_draft)) %>
<% end %>
<% if allowed_to?(:edit, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
<%= link_to t("edit", scope:"decidim.proposals.collaborative_drafts.show"), edit_collaborative_draft_path(@collaborative_draft), class: "button hollow expanded button--sc mt-s", id: "collaborative_draft_edit" %>
<% end %>
<%= render "request_access_form" %>
<% if @collaborative_draft.requesters.include? current_user %>
<% end %>