Adding spokenLanguages into views close #356

This commit is contained in:
Marc Ducobu
2014-11-26 13:29:00 +01:00
parent f903e50d73
commit 9b52fa562e
4 changed files with 16 additions and 0 deletions

View File

@@ -93,6 +93,14 @@ This view should receive those arguments:
{% endif %}
</dd>
</dl>
<dl>
<dt class="inline">{{'Spoken languages'|trans}}</dt>
<dd>
{% for lang in person.spokenLanguages %}
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
{% endfor %}
</dd>
</dl>
</figure>
{{ include(edit_tmp_name, edit_tmp_args) }}