mirror of
https://git.42l.fr/neil/sncf.git
synced 2024-05-19 14:16:34 +02:00
fixing incorrect admin link
This commit is contained in:
parent
83a80c0969
commit
d6a4a6591a
|
@ -49,7 +49,7 @@
|
||||||
<a class="ncstyle-button margin-bottom">{{ "index_nojs"|tr(lang) }}</a>
|
<a class="ncstyle-button margin-bottom">{{ "index_nojs"|tr(lang) }}</a>
|
||||||
</noscript>
|
</noscript>
|
||||||
{% if sncf_admin_token.is_some() %}
|
{% if sncf_admin_token.is_some() %}
|
||||||
<a href="{{ sncf_admin_token.as_ref().unwrap() }}" class="ncstyle-button margin-bottom">{{ "index_continueform_button"|tr(lang) }}</a>
|
<a href="/admin/{{ sncf_admin_token.as_ref().unwrap() }}" class="ncstyle-button margin-bottom">{{ "index_continueform_button"|tr(lang) }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form id="new_link" action="/link" method="post">
|
<form id="new_link" action="/link" method="post">
|
||||||
<input id="csrf_token" name="csrf_token" type="text" class="hidden">
|
<input id="csrf_token" name="csrf_token" type="text" class="hidden">
|
||||||
|
|
Loading…
Reference in a new issue