Skip to content
Snippets Groups Projects
Commit 7dce9a80 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

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.
parent b6f5bfdc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment