      <button type="submit" class="btn btn-primary">{% trans 'Log in' %}</button>
                </span>
              </div><!-- /input-group -->
            </div><!-- /.col-sm-6 -->
          </div>

          <input type="hidden" name="next" value="{{ next }}" />

          {% url 'admin_password_reset' as password_reset_url %}
          {% if password_reset_url %}
            <p class="password-reset-link">
              <a href="{{ password_reset_url }}">{% trans 'Forgotten your password or username?