src/cm/templates/site/user_activate.html
author gibus
Mon, 21 May 2012 16:50:42 +0200
changeset 439 8994d24e4b2f
parent 438 fcc5e2f0befd
child 550 05b5e51e8823
permissions -rw-r--r--
Reverts to changeset 435, and just add {% csrf_token %} to template forgot_pw.html, since CSRF protection seems to be only here (surely because of django.contrib.auth.views).

{% extends "site/layout/base_workspace.html" %}
{% load com %}
{% load i18n %}

{% block head %}
{% endblock %}

{% block content %}

<h1>{% blocktrans %}Activate your account{% endblocktrans %}</h1>
<form id="user_add" enctype="multipart/form-data" class="wizard-form" action="." method="post">
<table class="wide_form">
    <tbody>
    {% with userform as form %}
        {% include "site/macros/form_fields.html" %}
    {% endwith %}    
    
    {% with pwform as form %}
        {% include "site/macros/form_fields.html" %}
    {% endwith %}    

    <tr>
        <td style="vertical-align: top; width: 20%; text-align:right;">
        </td>
        <td>
            <label></label>
            <input name="save" type="submit" value="{% blocktrans %}Save{% endblocktrans %}"/>
        </td>
    </tr>
    </tbody>
</table>
</form>
{% endblock %}