Use href instead of POST form to edit status
This commit is contained in:
parent
7488f8da96
commit
e149a14e73
2 changed files with 7 additions and 8 deletions
|
@ -20,12 +20,9 @@
|
|||
</li>
|
||||
{% if status.status_type != 'GeneratedNote' and status.status_type != 'Rating' %}
|
||||
<li role="menuitem" class="dropdown-item p-0">
|
||||
<form class="" name="edit-{{ status.id }}" action="{% url 'edit-status' status.id %}" method="post">
|
||||
{% csrf_token %}
|
||||
<button class="button is-radiusless is-fullwidth is-small" type="submit">
|
||||
{% trans "Edit" %}
|
||||
</button>
|
||||
</form>
|
||||
<a href="{% url 'edit-status' status.id %}" class="button is-radiusless is-fullwidth is-small" type="submit">
|
||||
{% trans "Edit" %}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue