add missing csrf tokens
This commit is contained in:
parent
20b87a3e39
commit
1279311055
|
@ -4,7 +4,7 @@
|
|||
{% block content %}
|
||||
<div class="row mb-3">
|
||||
<div class="col">
|
||||
<form action="{% url 'computer_create' pk %}">
|
||||
<form action="{% url 'computer_create' pk %}">{% csrf_token %}
|
||||
<input type="submit" value="Add Computer" class="btn btn-primary">
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block content %}
|
||||
<div class="row mb-3">
|
||||
<div class="col">
|
||||
<form action="{% url 'device_create' pk %}">
|
||||
<form action="{% url 'device_create' pk %}">{% csrf_token %}
|
||||
<input type="submit" value="Add Device" class="btn btn-primary">
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue