From 7dce9a802042142b121ba0113023c12858f4263e Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Tue, 12 Jan 2016 13:59:48 +0000 Subject: [PATCH] Make email field of type email. This will invoke a more convenient on screen keyboard on mobile devices and give some syntax validation as a bonus. --- templates/error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/error.php b/templates/error.php index 62c2bd512..9231c2b28 100644 --- a/templates/error.php +++ b/templates/error.php @@ -51,7 +51,7 @@ if (isset($this->data['errorReportAddress'])) { <form action="<?php echo htmlspecialchars($this->data['errorReportAddress']); ?>" method="post"> <p><?php echo $this->t('report_text'); ?></p> <p><?php echo $this->t('report_email'); ?> - <input type="text" size="25" name="email" value="<?php echo htmlspecialchars($this->data['email']); ?>" /> + <input type="email" size="25" name="email" value="<?php echo htmlspecialchars($this->data['email']); ?>" /> </p> <p> <textarea class="metadatabox" name="text" rows="6" style="width: 100%; padding: 0.5em;"><?php -- GitLab