diff options
| author | 2020-04-20 23:27:17 +0200 | |
|---|---|---|
| committer | 2020-04-20 23:27:17 +0200 | |
| commit | acca89505be6ec062ba1acd9cc7df49aac1711fe (patch) | |
| tree | 092daf0e3577aae7f7d80fb7a5267d55599b9dd8 /app/views/feed/add.phtml | |
| parent | bd9a72726dbaf26854994e9726091477548a991f (diff) | |
Enhance the way help elements are displayed (#2911)
* - Always display help under the targeted element.
- Use same help place for HTTP authentication in 'add' feed view than in 'update' feed view.
- Move help under input field in register view, as all other places (homogeneity).
* - Don't use "!important" as suggested by @Alkarex.
Diffstat (limited to 'app/views/feed/add.phtml')
| -rw-r--r-- | app/views/feed/add.phtml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml index 9cfe024fc..516ec9a8b 100644 --- a/app/views/feed/add.phtml +++ b/app/views/feed/add.phtml @@ -69,16 +69,13 @@ <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" /> + <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> - - <div class="group-controls"> - <?= _i('help') ?> <?= _t('sub.feed.auth.help') ?> - </div> </div> <div class="form-group form-actions"> |
