From 4485617d07509e9a8de6f604f6dc9e03c355d3b3 Mon Sep 17 00:00:00 2001 From: Burathar Date: Fri, 10 Jul 2020 13:05:01 +0200 Subject: [PATCH] add hash label to objective.html --- app/templates/objective.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/objective.html b/app/templates/objective.html index 07b9cc5..3d791f5 100644 --- a/app/templates/objective.html +++ b/app/templates/objective.html @@ -27,6 +27,10 @@ {{ wtf.form_field(form.objective_name, value=objective.name, class='form-control') }} {{ wtf.form_field(form.latitude, class='form-control', type='number', value=objective.latitude, min='-90', max='90', step='0.00001') }} {{ wtf.form_field(form.longitude, class='form-control', type='number', value=objective.longitude, min='-180', max='181', step='0.00001') }} +
+ +

{{ objective.hash }}

+
{{ wtf.form_field(form.submit, class='btn btn-primary') }} {% if objective.hash %}