
{% if not request.user.is_authenticated %}
  {% load bootstrap %}
    <hr />
    <div class="row-fluid">
      <h3>
        log in
      </h3>
      <p>
        In order to ask the data your own questions and explore the answers,
        either log in or <a href="{% url 'account_signup' %}">sign up</a>
        for an account
      </p>

      <form class="login" method="POST" action="{% url 'account_login' %}">
        {% csrf_token %}
        {{ form|bootstrap }}
        <input type="hidden" name="next" value="{{ request.path }}" />
        <div class="form-actions">
          <button class="btn btn-primary" type="submit">
            Sign In
          </button>
          <a class="btn" href="{% url 'account_reset_password' %}">Forgot Password?</a>
        </div>
      </form>
{% endif %}


{% if not request.user.is_authenticated %}
  {% load bootstrap %}
    <hr />
    <div class="row-fluid">
      <h3>
        log in
      </h3>
      <p>
        In order to ask the data your own questions and explore the answers,
        please <a href="{% url 'login' %}">log in here</a>

      </p>
{% endif %}

Disable local login form. Errs when unauthenticated exploring.
Disable local login form.
Errs when unauthenticated exploring.
