diff options
Diffstat (limited to 'fietsboek/templates/edit.jinja2')
-rw-r--r-- | fietsboek/templates/edit.jinja2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fietsboek/templates/edit.jinja2 b/fietsboek/templates/edit.jinja2 index b0f9849..fd26f6b 100644 --- a/fietsboek/templates/edit.jinja2 +++ b/fietsboek/templates/edit.jinja2 @@ -5,14 +5,14 @@ {% block content %} <div class="container"> <h1>{{ _("page.edit.title") }}</h1> - <div id="mainmap" class="gpxview:{{ request.route_path('gpx', id=track.id) }}:OSM" style="width:100%;height:600px"> + <div id="mainmap" class="gpxview:{{ request.route_path('gpx', track_id=track.id) }}:OSM" style="width:100%;height:600px"> <noscript><p>{{ _("page.noscript") }}<p></noscript> </div> <form method="POST"> {{ edit_form.edit_track(track.title, track.date, track.visibility, track.description, track.text_tags(), badges, track.tagged_people) }} <div class="btn-group" role="group"> <button type="submit" class="btn btn-primary"><i class="bi bi-save"></i> {{ _("page.edit.form.submit") }}</button> - <a href="{{ request.route_url('details', id=track.id) }}" class="btn btn-secondary"><i class="bi bi-x-circle"></i> {{ _("page.edit.form.cancel") }}</a> + <a href="{{ request.route_url('details', track_id=track.id) }}" class="btn btn-secondary"><i class="bi bi-x-circle"></i> {{ _("page.edit.form.cancel") }}</a> </div> </form> </div> |