A free, self-hostable news aggregator…
fix: changed "for" and "id" (#3801)
maThd049277807af
diff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtmlindex e56adbf4f..97570ede2 100644--- a/app/views/tag/index.phtml+++ b/app/views/tag/index.phtml@@ -9,9 +9,9 @@<legend><?= _t('sub.title.add_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group">- <label class="group-name" for="category"><?= _t('sub.tag.name') ?></label>+ <label class="group-name" for="new_label_name"><?= _t('sub.tag.name') ?></label><div class="group-controls">- <input id="name" name="name" type="text" autocomplete="off"/>+ <input id="new_label_name" name="name" type="text" autocomplete="off"/></div></div>@@ -27,7 +27,7 @@<legend><?= _t('sub.title.rename_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group">- <label class="group-name" for="category"><?= _t('sub.tag.old_name') ?></label>+ <label class="group-name" for="id_tag"><?= _t('sub.tag.old_name') ?></label><div class="group-controls"><select name="id_tag" id="id_tag"><?php foreach ($this->tags as $tag): ?>@@ -37,9 +37,9 @@</div></div><div class="form-group">- <label class="group-name" for="category"><?= _t('sub.tag.new_name') ?></label>+ <label class="group-name" for="rename_new_name"><?= _t('sub.tag.new_name') ?></label><div class="group-controls">- <input id="name" name="name" type="text" autocomplete="off"/>+ <input id="rename_new_name" name="name" type="text" autocomplete="off"/></div></div>@@ -54,9 +54,9 @@<legend><?= _t('sub.title.delete_label') ?></legend><input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /><div class="form-group">- <label class="group-name" for="category"><?= _t('sub.tag.name') ?></label>+ <label class="group-name" for="id_tag_delete"><?= _t('sub.tag.name') ?></label><div class="group-controls">- <select name="id_tag" id="id_tag">+ <select name="id_tag" id="id_tag_delete"><?php foreach ($this->tags as $tag): ?><option value="<?= $tag->id() ?>"><?= $tag->name() ?></option><?php endforeach; ?>