Pluralization in bda -> participant list
This commit is contained in:
parent
19e6ddc8bf
commit
273e6374ef
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
<div>
|
||||
<button class="btn btn-default" type="button" onclick="toggle('export-salle')">Afficher/Cacher liste noms</button>
|
||||
<pre id="export-salle" style="display:none">{% spaceless %}
|
||||
{% for participant in participants %}{{participant.name}} : {{participant.nb_places}} places
|
||||
{% for participant in participants %}{{ participant.name }} : {{ participant.nb_places }} place{{ participant.nb_places|pluralize }}
|
||||
{% endfor %}
|
||||
{% endspaceless %}</pre>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue