aboutsummaryrefslogtreecommitdiff
path: root/app/views/subscription/add.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-07-11 14:58:41 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-11 14:58:41 +0200
commit3ed9d00f0a782a948234e33a6f2060acf9362c14 (patch)
tree02f444e23b0211e4ae179fd4b42c3875755941c4 /app/views/subscription/add.phtml
parentdff31cf55712758dd49ba333399dbc3478321f73 (diff)
changed <h2> to <legend> (#3676)
* changed <h2> to <legend> * white spaces replaced to tabs Thanks for the review * fixed shortcut.phtml headline legend -> h2 * fixed bookmarklet.phtml headline legend -> h2
Diffstat (limited to 'app/views/subscription/add.phtml')
-rw-r--r--app/views/subscription/add.phtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml
index adcb01699..63272dccb 100644
--- a/app/views/subscription/add.phtml
+++ b/app/views/subscription/add.phtml
@@ -3,8 +3,9 @@
<div class="post drop-section">
<a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
- <h2><?= _t('sub.title.add_category') ?></h2>
+
<form action="<?= _url('category', 'create') ?>" method="post">
+ <legend><?= _t('sub.title.add_category') ?></legend>
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group">
<label class="group-name" for="new-category"><?= _t('sub.category') ?></label>
@@ -20,8 +21,9 @@
</div>
</form>
- <h2><?= _t('sub.title.add_feed') ?></h2>
+
<form id="add_rss" method="post" action="<?= _url('feed', 'add') ?>" autocomplete="off">
+ <legend><?= _t('sub.title.add_feed') ?></legend>
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group">