Update Web Form header buttons (#6190)
The headers buttons needs to have absolute path in order to function, otherwise the pathname and the route is concatenated.
This commit is contained in:
parent
fac588631d
commit
899b5d4d0f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{% if not read_only and has_header %}
|
||||
<div style="padding-bottom: 15px;">
|
||||
{% if login_required -%}
|
||||
<a href="{{ cancel_url or pathname }}" class="btn btn-default btn-sm">
|
||||
<a href="/{{ cancel_url or pathname }}" class="btn btn-default btn-sm">
|
||||
{{ _("Cancel") }}</a>
|
||||
{%- endif %}
|
||||
{% if not is_list %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue