36847b6595538283143afdd6c7c5327598db2ea0
[redakcja.git] / apps / catalogue / templates / catalogue / document_fork.html
1 {% extends "catalogue/base.html" %}
2 {% load i18n %}
3
4 {% block inner_content %}
5     <h1>{% trans "Create another version of a resource" %}</h1>
6
7
8     <form enctype="multipart/form-data" method="POST">
9     {% csrf_token %}
10         {{ form.non_field_errors }}
11         <label for="owner">{% trans "Create as" %}</label>
12             {{ form.owner_organization.errors }}
13             <select class="form-control" name="owner_organization">
14                 <option>{{ request.user }}</option>
15                 {% for org in request.user.membership_set.all %}
16                     <option value="{{ org.organization.pk }}">{{ org.organization }}</option>
17                 {% endfor %}
18             </select>
19
20         <button style="margin-top:1em;" class="btn btn-default" type="submit">{% trans "Create another version" %}</button></td></tr>
21     </form>
22
23 {% endblock %}