diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-09 13:29:17 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-09 13:29:17 -0600 |
commit | be0bb4e123240ac3ce02431b974c82f8f05d843b (patch) | |
tree | e2da7ac44be955ad5cbf32c0a35dc507ba63e844 /design/templates/notes/partials/notebook_form.html | |
parent | d5f430d3e1e2b274d8d8f744251e8b6b4b72ebd9 (diff) |
latest changes
Diffstat (limited to 'design/templates/notes/partials/notebook_form.html')
-rw-r--r-- | design/templates/notes/partials/notebook_form.html | 4 |
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> |