Fxing flags checkboxes without flags next to them
Cette révision appartient à :
Parent
e64a6c599c
révision
6534d02977
3 fichiers modifiés avec 12 ajouts et 6 suppressions
|
@ -24,8 +24,10 @@
|
|||
<label for="language">{{ T("torrent_language") }}</label>
|
||||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}"{{if contains(Form.Languages, language) }} checked{{end}}>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<span class="input-group">
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}"{{if contains(Form.Languages, language) }} checked{{end}}>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -29,8 +29,10 @@
|
|||
<label class="input-label" for="language">{{ T("torrent_language") }}</label>
|
||||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}"{{if contains(Form.Languages, language) }} checked{{end}}>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<span class="input-group">
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}"{{if contains(Form.Languages, language) }} checked{{end}}>
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ yield errors(name="language")}}
|
||||
|
|
|
@ -35,8 +35,10 @@
|
|||
<h3>{{ T("torrent_language") }}</h3>
|
||||
<div name="language" class="form-input language">
|
||||
{{ range _, language := GetTorrentLanguages() }}
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}">
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
<span class="input-group">
|
||||
<input type="checkbox" name="languages" id="lang-{{ language }}" value="{{language}}">
|
||||
<label for="lang-{{ language }}" class="flag flag-{{ FlagCode(language) }}" title="{{LanguageName(language, T)}}"></label>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ yield errors(name="language")}}
|
||||
|
|
Référencer dans un nouveau ticket