aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html
index d863513f..11eca595 100644
--- a/src/web/templates/layout.html
+++ b/src/web/templates/layout.html
@@ -66,7 +66,7 @@
</a>
<ul class="dropdown-menu">
<li>
- <form action="/category/create" class="navbar-form navbar-left" method="POST" name="category">
+ <form action="{{ url_for('category.form') }}" class="navbar-form navbar-left" method="POST" name="category">
<div class="input-group input-group-inline">
<input class="form-control" name="name" type="text" placeholder="{{_("Category name")}}" required="required"/>
<span class="input-group-btn">
bgstack15