diff options
Diffstat (limited to 'src/web/templates/layout.html')
-rw-r--r-- | src/web/templates/layout.html | 2 |
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"> |