This commit is contained in:
OzzieIsaacs 2017-11-12 13:40:56 +01:00
parent af8d908bba
commit fd39cbaa6f

View File

@ -11,7 +11,7 @@
{% endif %} {% endif %}
<div class="form-group"> <div class="form-group">
<label for="email">{{_('Email address')}}</label> <label for="email">{{_('Email address')}}</label>
<input type="email" class="form-control" name="email" id="email" value="{{ content.email if content.email != None }}" autocomplete="off" required> <input type="email" class="form-control" name="email" id="email" value="{{ content.email if content.email != None }}" autocomplete="off">
</div> </div>
{% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %} {% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %}
<div class="form-group"> <div class="form-group">