1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-04-26 19:40:30 +02:00

fixing incorrect admin link

This commit is contained in:
neil 2021-04-13 21:15:13 +02:00
parent 83a80c0969
commit d6a4a6591a

View file

@ -49,7 +49,7 @@
<a class="ncstyle-button margin-bottom">{{ "index_nojs"|tr(lang) }}</a>
</noscript>
{% 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 %}
<form id="new_link" action="/link" method="post">
<input id="csrf_token" name="csrf_token" type="text" class="hidden">