<%= t("legislation.annotations.comments.comments_count", count: 0) %>
<% if !@process.allegations_phase.open? %>
<%= t("legislation.annotations.form.phase_not_open") %>
<% elsif user_signed_in? %> <%= form_for Legislation::Annotation.new, url: legislation_process_draft_version_annotations_path(@process, @draft_version), remote: true do |f| %> <%= f.text_area :text %>
<%= t("legislation.annotations.comments.cancel") %> <%= f.submit value: t("legislation.annotations.comments.publish_comment"), class: "button publish-comment" %>
<%= f.hidden_field :quote %> <%= f.hidden_field :ranges %> <% end %> <% else %> <%= render "shared/login_to_comment" %> <% end %>