aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-09 09:43:05 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-09 09:43:05 +0200
commit35db784b189fa5158c2982f3f48f1c54b9cf9f81 (patch)
tree2f6e951b6cd2c350c4d7580c8ca26275bb5f3e52 /src/web
parentUpdated Navbar. (diff)
downloadnewspipe-35db784b189fa5158c2982f3f48f1c54b9cf9f81.tar.gz
newspipe-35db784b189fa5158c2982f3f48f1c54b9cf9f81.tar.bz2
newspipe-35db784b189fa5158c2982f3f48f1c54b9cf9f81.zip
Better like that.
Diffstat (limited to 'src/web')
-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