diff farol/templates/producttree/edit_branch.j2 @ 45:7c4d001839e7

Move the Display of the ProductTree to its own page
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 07 Oct 2014 13:01:10 +0200
parents 6594ff7c37b4
children 086e35c4aee7
line wrap: on
line diff
--- a/farol/templates/producttree/edit_branch.j2	Tue Oct 07 09:45:46 2014 +0200
+++ b/farol/templates/producttree/edit_branch.j2	Tue Oct 07 13:01:10 2014 +0200
@@ -35,6 +35,6 @@
 {{ selectinput2('parent', "Path to Parent Branch", branches, branch.getParentPath()) }}
 
 <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button>
-<a class="btn btn-danger" href="{{ url_for('document.view') }}">Cancel</a>
+<a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a>
 </form>
 {% endblock %}

http://farol.wald.intevation.org