Files
@ 6121ce79cc88
Branch filter:
Location: symposion_app/pinaxcon/templates/account/signup.html - annotation
6121ce79cc88
1.2 KiB
text/html
Getting the splash homepage to work via CMS.
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da feed83f517da | {% extends "utility_page.html" %}
{% load account_tags %}
{% load i18n %}
{% load bootstrap %}
{% block head_title %}{% trans "Sign up" %}{% endblock %}
{% block page_title %}{% trans "Sign up" %}{% endblock %}
{% block utility_body %}
<p>
{% trans "Already have an account?" %} <strong><a href="{% urlnext 'account_login' %}">{% trans "Log in" %}</a></strong>
</p>
<form id="signup_form" method="post" action="{% url "account_signup" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
{% csrf_token %}
<fieldset>
{% include "_form_snippet.html" with form=form %}
</fieldset>
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<button type="submit" class="btn btn-primary">{% trans "Sign up" %}</button>
</form>
{% endblock %}
{% block scripts %}
{{ block.super }}
<script type="text/javascript">
$(document).ready(function() {
$('#id_username').focus();
});
</script>
{% endblock %}
|