- <form method="post" action="{% url login %}" id="login-form" class="cuteform">
- <h2>{% trans "Sign in" %} / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">{% trans "Register" %}</a></h2>
- <p><span id="id_login-__all__"></span></p>
- <ol>
- {% authentication_form %}
- <li><input type="submit" value="{% trans "Sign in" %}" /></li>
- </ol>
- </form>
- <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
- <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">{% trans "Sign in" %}</a> / {% trans "Register" %}</h2>
- <p><span id="id_registration-__all__"></span></p>
- <ol>
- {% user_creation_form %}
- <li><input type="submit" value="{% trans "Register" %}" /></li>
- </ol>
- </form>