fix forms in control panel
This commit is contained in:
parent
a7c1336f33
commit
8b9564a49f
1 changed files with 7 additions and 3 deletions
|
@ -158,6 +158,7 @@
|
||||||
{{ space_accesses_form.non_field_errors }}
|
{{ space_accesses_form.non_field_errors }}
|
||||||
{{ space_accesses_form.access_permissions.errors }}
|
{{ space_accesses_form.access_permissions.errors }}
|
||||||
{{ space_accesses_form.expires.errors }}
|
{{ space_accesses_form.expires.errors }}
|
||||||
|
<form method="post">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans 'Space' %}</th>
|
<th>{% trans 'Space' %}</th>
|
||||||
|
@ -174,12 +175,15 @@
|
||||||
{% trans 'No' %}
|
{% trans 'No' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="button-cell"><form method="post">
|
<td class="button-cell">
|
||||||
{% csrf_token %}<button type="submit" name="delete_space_access" value="{{ space_access.pk }}">{% trans 'Delete' %}</button>
|
{% csrf_token %}<button type="submit" name="delete_space_access" value="{{ space_access.pk }}">{% trans 'Delete' %}</button>
|
||||||
</form></td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
<table>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% if space_accesses_form %}
|
{% if space_accesses_form %}
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue