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