      {% endfor %}
      {% endif %}
      {% if user.is_authenticated %}
        <p class="errornote">
          {% blocktrans trimmed %}
          You are authenticated as {{ username }}, but are not authorized to
          access this page. Would you like to login to a different account?
          {% endblocktrans %}
        </p>
      {% endif %}
      <form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}

        <div class="row">
          <div class="col s12">
            <div 