aboutsummaryrefslogtreecommitdiff
path: root/app/views/user
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-05-08 18:36:51 +0200
committerGravatar GitHub <noreply@github.com> 2021-05-08 18:36:51 +0200
commitffb0e30dde98bcef1b3fa0bfb020c3a478c6a402 (patch)
treedf336f8ad9bc0c15dc327e7994079699f86f3149 /app/views/user
parent607f7e725487ce0eb0339b288ce9e58036dad4a0 (diff)
Minor uniform stricter HTML (#3616)
Diffstat (limited to 'app/views/user')
-rw-r--r--app/views/user/manage.phtml2
-rw-r--r--app/views/user/profile.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml
index 4332562e9..c22affc9d 100644
--- a/app/views/user/manage.phtml
+++ b/app/views/user/manage.phtml
@@ -43,7 +43,7 @@
<?= _t('gen.auth.email') ?>
</label>
<div class="group-controls">
- <input id="new_user_email" name="new_user_email" type="email" required />
+ <input id="new_user_email" name="new_user_email" type="email" required="required" />
</div>
</div>
<?php } ?>
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index 3fc79bb47..799ead160 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -22,7 +22,7 @@
<div class="form-group">
<div class="group-controls">
<label class="checkbox" for="is_admin">
- <input type="checkbox" id="is_admin" disabled checked />
+ <input type="checkbox" id="is_admin" disabled="disabled" checked="checked" />
<?= _t('conf.user.is_admin') ?>
</label>
</div>