1 {% extends "catalogue/base.html" %}
 
   4 {% block inner_content %}
 
   6     <h1>{% trans "Edit organization" %}</h1>
 
   9     <form enctype="multipart/form-data" method="POST">
 
  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 }}
 
  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>
 
  27         <label for="www">{% trans "WWW" %}</label>
 
  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/>
 
  38         <button style="margin-top:1em;" class="btn btn-default" type="submit">{% trans "Change" %}</button></td></tr>