~cjsmo/laudio/laudio

« back to all changes in this revision

Viewing changes to laudio/tpl/config/settings_new_user.html

  • Committer: Bernhard Posselt
  • Date: 2012-07-21 21:46:45 UTC
  • Revision ID: git-v1:65b8b97f72df4a9245bd564e3344b3e897472143
django 1.4 changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends 'base.html' %}
2
 
{% load i18n %}
3
 
{% load theme %}
4
 
 
5
 
{% block title %}l-audio - {% blocktrans %}new user creation page{% endblocktrans %}{% endblock %}
6
 
 
7
 
{% block header %}
8
 
    <link rel="stylesheet" href="{{ MEDIA_URL }}themes/{% theme user %}/settings.css" type="text/css" media="all" />
9
 
    <script src="{% url player:javascript 'settings' %}" type="text/javascript" charset="utf-8"></script>  
10
 
{% endblock %}
11
 
 
12
 
 
13
 
{% block content %}
14
 
    {% include "includes/nav.html" with nav_settings='class="active"'%}
15
 
 
16
 
    <div id="content">
17
 
 
18
 
        <div id="settings">
19
 
            <h1>{% trans 'Create a new user' %}</h1>
20
 
            <form method="post" class="section" action="{% url player:config_settings_new_user %}">
21
 
                {% csrf_token %}
22
 
                <table>
23
 
                    {% for field in user_form %}
24
 
                        <tr>
25
 
                            <th>{{ field.label }}
26
 
                            {% if field.help_text %}
27
 
                                <br /><span class="helptext">{{ field.help_text }}</span></th>
28
 
                            {% endif %}
29
 
                            <td>{{ field }}</td>
30
 
                            <td>{{ field.errors }}</td>
31
 
                        </tr>
32
 
                    {% endfor %}
33
 
                    {% for field in profile_form %}
34
 
                        <tr>
35
 
                            <th>{{ field.label }}
36
 
                            {% if field.help_text %}
37
 
                                <br /><span class="helptext">{{ field.help_text }}</span></th>
38
 
                            {% endif %}
39
 
                            <td>{{ field }}</td>
40
 
                            <td>{{ field.errors }}</td>
41
 
                        </tr>
42
 
                    {% endfor %}
43
 
                </table>
44
 
                <p class="submit"><input type="submit" value="{% blocktrans %}create{% endblocktrans %}" /></p>
45
 
            </form>
46
 
        </div>
47
 
    </div>
48
 
{% endblock %}