Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fxing flags checkboxes without flags next to them

Cette révision appartient à :
akuma06 2017-07-06 22:42:55 +02:00
Parent e64a6c599c
révision 6534d02977
3 fichiers modifiés avec 12 ajouts et 6 suppressions

Voir le fichier

@ -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>

Voir le fichier

@ -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")}}

Voir le fichier

@ -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")}}