Skip to content

Commit

Permalink
Modification de la condition d'affichage
Browse files Browse the repository at this point in the history
  • Loading branch information
tnicolas1 committed Nov 19, 2024
1 parent 0d1ce54 commit 65bb79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/pfmps/_pfmp_student_table.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
= button_to "Télécharger la décision d'attribution", url_for(schooling.attributive_decision), class: 'fr-btn fr-btn--secondary', target: :download, method: :get
- if schooling.abrogation_decision.attached?
= button_to "Télécharger la décision d'abrogation", url_for(schooling.abrogation_decision), class: 'fr-btn fr-btn--secondary', target: :download, method: :get
- if [email protected]_schooling.nil? && [email protected]_schooling.removed?
= button_to "Retirer l'élève de la classe", confirm_removal_school_year_class_schooling_path(selected_school_year, @student.current_schooling.classe, @student.current_schooling), class: 'fr-btn fr-btn--danger', method: :get
- if [email protected]_schooling.nil? && @student.current_schooling.eql?(schooling) && [email protected]_schooling.removed?
= button_to "Retirer l'élève de la classe", confirm_removal_school_year_class_schooling_path(classe.school_year, classe, schooling), class: 'fr-btn fr-btn--danger', method: :get

0 comments on commit 65bb79f

Please sign in to comment.