Skip to content
Snippets Groups Projects
Commit cd37ae4d authored by Alexander Purr's avatar Alexander Purr Committed by Dorian Merz
Browse files

refs #16679 [fid] email inputs as type "email"

parent 838855ee
Branches
Tags
No related merge requests found
......@@ -46,7 +46,7 @@ return [
'usernameConfirmation' => [
'spec' => [
'name' => 'usernameConfirmation',
'type' => Text::class,
'type' => Email::class,
'options' => [
'label' => 'label_newusername_confirmation',
],
......
<div class="form-group">
<label class="control-label" for="login_<?=$this->escapeHtmlAttr($topClass)?>_username"><?=$this->transEsc('Username')?>:</label>
<input type="email" name="username" id="login_<?=$this->escapeHtmlAttr($topClass)?>_username" value="<?=$this->escapeHtmlAttr($this->request->get('username'))?>" class="form-control"/>
</div>
<div class="form-group">
<label class="control-label" for="login_<?=$this->escapeHtmlAttr($topClass)?>_password"><?=$this->transEsc('Password')?>:</label>
<input type="password" name="password" id="login_<?=$this->escapeHtmlAttr($topClass)?>_password" class="form-control"/>
</div>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment