fix: changed "for" and "id" (#3801)

This commit is contained in:
maTh authored and GitHub committed 2021-08-25 13:06:12 +02:00
1 parent 6c396997f2
commit d049277807
1 file changed
+7 -7
+7 -7
View File
@@ -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; ?>