diff options
Diffstat (limited to 'app/views/feed/add.phtml')
| -rw-r--r-- | app/views/feed/add.phtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml index 516ec9a8b..a585fcedc 100644 --- a/app/views/feed/add.phtml +++ b/app/views/feed/add.phtml @@ -68,13 +68,16 @@ <div class="form-group"> <label class="group-name" for="http_user"><?= _t('sub.feed.auth.username') ?></label> <div class="group-controls"> - <input type="text" name="http_user" id="http_user" class="extend" value="<?= empty($auth['username']) ? ' ' : $auth['username'] ?>" autocomplete="off" /> + <input type="text" name="http_user" id="http_user" class="extend" value="<?= $auth['username'] ?>" autocomplete="off" /> <p class="help"><?= _i('help') ?> <?= _t('sub.feed.auth.help') ?></p> </div> <label class="group-name" for="http_pass"><?= _t('sub.feed.auth.password') ?></label> <div class="group-controls"> - <input type="password" name="http_pass" id="http_pass" class="extend" value="<?= $auth['password'] ?>" autocomplete="new-password" /> + <div class="stick"> + <input type="password" name="http_pass" id="http_pass" class="extend" value="<?= $auth['password'] ?>" autocomplete="new-password" /> + <a class="btn toggle-password" data-toggle="http_user"><?= _i('key') ?></a> + </div> </div> </div> |
