Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dépôt de besoin] Inversement de l'ordre des boutons pour gérer l'appui de la touche Entrée #1007

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions lemarche/templates/tenders/create_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ <h1 class="s-title-01__title h1 mb-0">
<div class="row">
<div class="col-12 col-lg-7">
<div class="form-row align-items-center {% if wizard.steps.prev %}justify-content-between{% else %}justify-content-end{% endif %}">
{% block submit_btn %}
<div class="form-group col-6 col-lg-auto order-2 order-lg-3">
<button type="submit"
id="tender-create-{{ wizard.steps.current }}-form-next-step-btn"
class="btn btn-primary btn-block"
aria-label="Passer à l'étape suivante">
Étape Suivante
</button>
</div>
{% endblock submit_btn %}
{% if wizard.steps.prev %}
<div class="form-group col-12 col-lg order-3 order-lg-1">
SebastienReuiller marked this conversation as resolved.
Show resolved Hide resolved
<button type="submit"
Expand All @@ -111,16 +121,6 @@ <h1 class="s-title-01__title h1 mb-0">
</button>
</div>
{% endif %}
{% block submit_btn %}
<div class="form-group col-6 col-lg-auto order-2 order-lg-3">
<button type="submit"
id="tender-create-{{ wizard.steps.current }}-form-next-step-btn"
class="btn btn-primary btn-block"
aria-label="Passer à l'étape suivante">
Étape Suivante
</button>
</div>
{% endblock submit_btn %}
</div>
</div>
</div>
Expand Down