diff options
| author | 2021-08-25 13:06:12 +0200 | |
|---|---|---|
| committer | 2021-08-25 13:06:12 +0200 | |
| commit | d049277807af6bfcfaaa9f4634840f2c9fafe518 (patch) | |
| tree | 4aa9361abc27c74e020c26ba72a0c2f8dc4b5352 | |
| parent | 6c396997f2f2d5304b2413f590645dc62107dd7e (diff) | |
fix: changed "for" and "id" (#3801)
| -rw-r--r-- | app/views/tag/index.phtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/tag/index.phtml b/app/views/tag/index.phtml index 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; ?> |
