Skip to content

Commit

Permalink
fix: remove suspension back_url and modal on step one
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodeloo committed May 23, 2024
1 parent 8eb11d5 commit 5c19ee2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions itou/templates/approvals/suspension_action_choice.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ <h1>
<p class="fw-bold">Quelle action souhaitez-vous faire ?</p>
<form method="post">
{% csrf_token %}
<div class="form-check">
<input class="form-check-input" type="radio" name="action" id="endDateRadios" value="update_enddate" checked>
<label class="form-check-label" for="endDateRadios">
Lever la suspension pour <strong class="text-success">réintégrer ce candidat</strong>
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="action" id="deleteRadios" value="delete">
<label class="form-check-label" for="deleteRadios">
Confirmer la <strong class="text-danger">suppression définitive</strong> de cette suspension
</label>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="radio" name="action" id="endDateRadios" value="update_enddate" checked>
<label class="form-check-label" for="endDateRadios">
Lever la suspension pour <strong class="text-success">réintégrer ce candidat</strong>
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="action" id="deleteRadios" value="delete">
<label class="form-check-label" for="deleteRadios">
Confirmer la <strong class="text-danger">suppression définitive</strong> de cette suspension
</label>
</div>
</div>
{% itou_buttons_form primary_label="Suivant" reset_url=back_url %}
</form>
Expand Down
2 changes: 1 addition & 1 deletion itou/templates/approvals/suspension_update.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1>

{% bootstrap_form form %}

{% itou_buttons_form primary_label="Valider" secondary_url=back_url %}
{% itou_buttons_form primary_label="Valider" %}

</form>
</div>
Expand Down

0 comments on commit 5c19ee2

Please sign in to comment.