aboutsummaryrefslogtreecommitdiff
path: root/design/templates/notes/partials/notebook_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/notes/partials/notebook_form.html')
-rw-r--r--design/templates/notes/partials/notebook_form.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/notes/partials/notebook_form.html b/design/templates/notes/partials/notebook_form.html
index fae6c40..1e51e9c 100644
--- a/design/templates/notes/partials/notebook_form.html
+++ b/design/templates/notes/partials/notebook_form.html
@@ -1,4 +1,4 @@
-<form id="nb-create-form" action="{% url 'notebook-api-list' %}" method="POST">{% csrf_token %}
+<form id="nb-create-form" action="{{url}}" method="POST">{% csrf_token %}
<div class="alert" id="non-field-errors">{{ form.non_field_errors }}</div>
<div class="flex-wrapper flex-inner">
{% for field in form %}{% if field.name == 'color_rgb' %}
@@ -15,5 +15,5 @@
{% endfor %}
<h1 class="notebook-title" id="nb-title">{{object.name}}</h1>
</div>
- <input id="notebook-form-submit" type="submit" class="btn sm" value="Save" >
+ <input id="notebook-form-submit" name="create" type="submit" class="btn sm" value="Save" >
</form>