aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/templates/edit_cp.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/templates/edit_cp.html')
-rw-r--r--python/Dawn/templates/edit_cp.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/Dawn/templates/edit_cp.html b/python/Dawn/templates/edit_cp.html
index 49fc0f66..ff581c9f 100644
--- a/python/Dawn/templates/edit_cp.html
+++ b/python/Dawn/templates/edit_cp.html
@@ -5,7 +5,9 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body style="max-width:1024px; margin:0 auto">
- <form method="POST" class="form-horizontal" action="/" enctype="multipart/form-data">
+ <form method="POST" class="form-horizontal"
+ action="{{url_for('edit_counterparty', cpcode=code)}}"
+ enctype="multipart/form-data">
{% for field in form %}
<div class="form-group">
{% if field.type != 'CSRFTokenField' %}