<% if user_signed_in? && current_user.organization? %>
  <div class="participation-not-allowed">
    <p>
      <%= t("legislation.questions.participation.organizations") %>
    </p>
  </div>
<% elsif user_signed_in? && current_user.unverified? %>
  <div class="participation-not-allowed">
    <p>
      <%= sanitize(t("legislation.questions.participation.verified_only",
                     verify_account: link_to_verify_account)) %>
    </p>
  </div>
<% elsif !user_signed_in? %>
  <div class="participation-not-allowed">
    <%= sanitize(t("legislation.questions.participation.unauthenticated",
                   signin: link_to_signin,
                   signup: link_to_signup)) %>
  </div>
<% elsif !@process.debate_phase.open? %>
  <div class="participation-not-allowed">
    <%= t("legislation.questions.participation.debate_phase_not_open") %>
  </div>
<% end %>
