10 lignes
Pas d'EOL
498 o
HTML
10 lignes
Pas d'EOL
498 o
HTML
{{ block flagList(languages=nil, selected="")}}
|
|
{{ if isset(languages) }}
|
|
{{ range _, language := languages }}
|
|
<span class="input-group">
|
|
<input type="checkbox" name="languages" id="lang-{{ language.Code }}" value="{{language.Code}}"{{if contains(selected, language.Code) }} checked{{end}}>
|
|
<label for="lang-{{ language.Code }}" class="flag flag-{{ language.Flag(false) }}" title="{{LanguageName(language, T)}}"></label>
|
|
</span>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }} |