97d413f53818f71cb05ebfafd4b0e7cc13169073
[redakcja.git] / apps / organizations / templates / organizations / edit_user.html
1 {% extends "catalogue/base.html" %}
2 {% load i18n %}
3
4 {% block inner_content %}
5
6     <h1>{% trans "Edit user data" %}</h1>
7
8
9     <form enctype="multipart/form-data" method="POST">
10     {% csrf_token %}
11         {{ form.non_field_errors }}
12         <label for="first_name">{% trans "First name" %}</label>
13             {{ form.first_name.errors }}
14             <input class="form-control" name="first_name" type="text" value="{{ form.first_name.value|default:"" }}">
15         <label for="last_name">{% trans "Last name" %}</label>
16             {{ form.last_name.errors }}
17             <input class="form-control" name="last_name" type="text" value="{{ form.last_name.value|default:"" }}">
18
19         <label for="logo">{% trans "Photo" %}</label>
20             {{ form.logo.errors }}
21             <div>
22             {{ form.logo }}
23             </div>
24         <label for="country">{% trans "Country" %}</label>
25             {{ form.country.errors }}
26             <select class="form-control" name="country">
27                 <option value=''>-</option>
28                 {% for c, t in form.cts %}
29                     <option value='{{ c }}' {% if form.country.value == c %}selected="selected"{% endif %}>{{ t }}</option>
30                 {% endfor %}
31             </select>
32         <label for="www">{% trans "WWW" %}</label>
33             {{ form.www.errors }}
34             <input class="form-control" name="www" type="www" value="{{ form.www.value|default:"" }}">
35         <label for="title">{% trans "Description" %}</label>
36             {{ form.description.errors }}
37             <textarea class="form-control" name="description">{{ form.description.value|default:"" }}</textarea>
38         <label for="title">{% trans "Projects" %}</label>
39             {{ form.projects.errors }}
40             <textarea class="form-control" name="projects">{{ form.projects.value|default:"" }}</textarea>
41             {% trans "Enter each line as: URL language description" %}<br/>
42
43         <button style="margin-top:1em;" class="btn btn-default" type="submit">{% trans "Change" %}</button></td></tr>
44     </form>
45
46
47 {% endblock %}