<% if @collaborative_draft.published? %>
<%= cell "decidim/proposals/collaborative_draft_link_to_proposal", @collaborative_draft %>
<% else %>
<%= t("version", scope:"decidim.proposals.collaborative_drafts.show", number: "#{@collaborative_draft.versions_count}") %>
<%= t("of_versions", scope:"decidim.proposals.collaborative_drafts.show", number: "#{@collaborative_draft.versions_count}") %>
<%= link_to t("see_other_versions", scope:"decidim.proposals.collaborative_drafts.show"), 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 secondary hollow expanded button--sc mt-s", id: "collaborative_draft_edit" %>
<% end %>
<%= render "request_access_form" %>
<% if @collaborative_draft.requesters.include? current_user %>
<% end %>