Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Make torrent language form not required (#1046)

* Make torrent language form not required

It's required currently and that's annoying because the majority of torrents do not need that

* Make torrent language form not required

* Make torrent language form not required
Cette révision appartient à :
kilo 2017-06-21 08:37:55 +02:00 révisé par ewhal
Parent 5a2a6e014c
révision 82a0f3729a
3 fichiers modifiés avec 4 ajouts et 4 suppressions

Voir le fichier

@ -26,7 +26,7 @@
</div>
<div class="form-group">
<label for="language">{{ call $.T "torrent_language" }}</label>
<select name="language" id="language" class="form-input up-input" required>
<select name="language" id="language" class="form-input up-input">
<option value="">{{call $.T "select_a_torrent_language"}}</option>
<option value="other" {{if eq $.Form.Language "other"}}selected{{end}}>{{call $.T "language_other_name"}}</option>
<option value="multiple" {{if eq $.Form.Language "multiple"}}selected{{end}}>{{call $.T "language_multiple_name"}}</option>

Voir le fichier

@ -28,7 +28,7 @@
</select>
<h3>{{ call $.T "torrent_language" }}</h3>
<select name="language" id="language" class="form-input up-input" required>
<select name="language" id="language" class="form-input up-input">
<option value="">{{call $.T "select_a_torrent_language"}}</option>
<option value="other" {{if eq $.Form.Language "other"}}selected{{end}}>{{call $.T "language_other_name"}}</option>
<option value="multiple" {{if eq $.Form.Language "multiple"}}selected{{end}}>{{call $.T "language_multiple_name"}}</option>

Voir le fichier

@ -26,7 +26,7 @@
</div>
<div class="form-group">
<label for="language">{{ call $.T "torrent_language" }}</label>
<select name="language" id="language" class="form-input up-input" required>
<select name="language" id="language" class="form-input up-input">
<option value="">{{call $.T "select_a_torrent_language"}}</option>
<option value="other" {{if eq $.Form.Language "other"}}selected{{end}}>{{call $.T "language_other_name"}}</option>
<option value="multiple" {{if eq $.Form.Language "multiple"}}selected{{end}}>{{call $.T "language_multiple_name"}}</option>
@ -71,4 +71,4 @@
<script>
$(".torrent-desc").markdown({resize: "both"})
</script>
{{end}}
{{end}}