Skip to content

Conversation

@thibault
Copy link
Collaborator

@thibault thibault commented Jan 9, 2026

Il y avait une boucle inutile dans le template, dont le seul but était de sélectionner une des réglementations de la liste.

@thibault thibault requested a review from pyDez January 9, 2026 09:47
@tristanrobert
Copy link

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.


<a class="fr-btn fr-icon-arrow-right-line fr-btn--icon-right"
href="{% url 'petition_project_instructor_dossier_complet_view' petition_project.reference %}">Voir le dossier complet</a>
<section class="fr-my-3w" id="moulinette-regulation-result">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai simplement supprimé les deux lignes {% for … %} {% if regulation.slug… %}. Le reste du diff est simplement la mise à jour de l'identation du template.

Copy link
Collaborator

@pyDez pyDez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants