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

pull/3802/head
maTh 3 years ago committed by GitHub
parent 6c396997f2
commit d049277807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      app/views/tag/index.phtml

@ -9,9 +9,9 @@
<legend><?= _t('sub.title.add_label') ?></legend> <legend><?= _t('sub.title.add_label') ?></legend>
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group"> <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"> <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>
</div> </div>
@ -27,7 +27,7 @@
<legend><?= _t('sub.title.rename_label') ?></legend> <legend><?= _t('sub.title.rename_label') ?></legend>
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group"> <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"> <div class="group-controls">
<select name="id_tag" id="id_tag"> <select name="id_tag" id="id_tag">
<?php foreach ($this->tags as $tag): ?> <?php foreach ($this->tags as $tag): ?>
@ -37,9 +37,9 @@
</div> </div>
</div> </div>
<div class="form-group"> <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"> <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>
</div> </div>
@ -54,9 +54,9 @@
<legend><?= _t('sub.title.delete_label') ?></legend> <legend><?= _t('sub.title.delete_label') ?></legend>
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group"> <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"> <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): ?> <?php foreach ($this->tags as $tag): ?>
<option value="<?= $tag->id() ?>"><?= $tag->name() ?></option> <option value="<?= $tag->id() ?>"><?= $tag->name() ?></option>
<?php endforeach; ?> <?php endforeach; ?>

Loading…
Cancel
Save