Optimise en mettant spaceless
authorPA Parent <paparent@paparent.me>
Sun, 11 Dec 2011 20:26:59 +0000 (15:26 -0500)
committerPA Parent <paparent@paparent.me>
Sun, 11 Dec 2011 20:26:59 +0000 (15:26 -0500)
project/rh/templates/rh/rapports/postes.html

index b0ce839..ec41658 100644 (file)
@@ -21,7 +21,7 @@
                <th>Nom</th>
                <th>Prénom</th>
        </tr>
                <th>Nom</th>
                <th>Prénom</th>
        </tr>
-       {% for poste in postes %}
+       {% spaceless %}{% for poste in postes %}
        <tr>
                <td>{{ poste.id }}</td>
                <td>{{ poste.nom }}</td>
        <tr>
                <td>{{ poste.id }}</td>
                <td>{{ poste.nom }}</td>
@@ -30,7 +30,7 @@
                <td>{{ poste.employe_nom }}</td>
                <td>{{ poste.employe_prenom }}</td>
        </tr>
                <td>{{ poste.employe_nom }}</td>
                <td>{{ poste.employe_prenom }}</td>
        </tr>
-       {% endfor %}
+       {% endfor %}{% endspaceless %}
        </table>
 
 </div>
        </table>
 
 </div>