aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/auth
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/auth')
-rw-r--r--templates/web/base/auth/change_email.html2
-rw-r--r--templates/web/base/auth/change_password.html8
-rw-r--r--templates/web/base/auth/general.html8
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/web/base/auth/change_email.html b/templates/web/base/auth/change_email.html
index 58c864929..471782e42 100644
--- a/templates/web/base/auth/change_email.html
+++ b/templates/web/base/auth/change_email.html
@@ -24,7 +24,7 @@
<div class="form-field">
<label for="email">[% loc('New email address:') %]</label>
- <input type="email" name="email" id="email" value="[% email | html %]">
+ <input class="form-control" type="email" name="email" id="email" value="[% email | html %]">
</div>
<div class="final-submit">
<input type="submit" value="[% loc('Change email address') %]">
diff --git a/templates/web/base/auth/change_password.html b/templates/web/base/auth/change_password.html
index 80708abb1..50ecc93a2 100644
--- a/templates/web/base/auth/change_password.html
+++ b/templates/web/base/auth/change_password.html
@@ -17,7 +17,7 @@ INCLUDE 'header.html', title = loc('Change password'), bodyclass = bclass
<form action="[% c.uri_for('change_password') %]" method="post" name="change_password" class="fieldset">
<input type="hidden" name="token" value="[% csrf_token %]">
-
+
<fieldset>
[% IF password_error;
@@ -26,18 +26,18 @@ INCLUDE 'header.html', title = loc('Change password'), bodyclass = bclass
mismatch => loc('The passwords do not match'),
other => loc('Please check the passwords and try again'),
};
-
+
loc_password_error = errors.$password_error || errors.other; %]
<div class="form-error">[% loc_password_error %]</div>
[% END %]
<div class="form-field">
<label for="new_password">[% loc('New password:') %]</label>
- <input type="password" name="new_password" value="[% new_password | html %]">
+ <input class="form-control" type="password" name="new_password" value="[% new_password | html %]">
</div>
<div class="form-field">
<label for="confirm">[% loc('Again:') %]</label>
- <input type="password" name="confirm" value="[% confirm | html %]">
+ <input class="form-control" type="password" name="confirm" value="[% confirm | html %]">
</div>
<div class="final-submit">
<input type="submit" value="[% loc('Change password') %]">
diff --git a/templates/web/base/auth/general.html b/templates/web/base/auth/general.html
index a8bf8f1e0..cf539ff4f 100644
--- a/templates/web/base/auth/general.html
+++ b/templates/web/base/auth/general.html
@@ -52,7 +52,7 @@
[% ELSIF sign_in_error %]
<div class="form-error">[% loc('There was a problem with your email/password combination. If you cannot remember your password, or do not have one, please fill in the &lsquo;sign in by email&rsquo; section of the form.') %]</div>
[% END %]
- <input type="email" class="required email" id="email" name="email" value="[% email | html %]" placeholder="[% loc('Your email address') %]" autofocus>
+ <input type="email" class="form-control required email" id="email" name="email" value="[% email | html %]" placeholder="[% loc('Your email address') %]" autofocus>
<div id="form_sign_in">
<h3>[% tprintf(loc("Do you have a %s password?", "%s is the site name"), site_name) %]</h3>
@@ -82,7 +82,7 @@
<label class="hidden-js n" for="password_sign_in">[% loc('Password:') %]</label>
<div class="form-txt-submit-box">
- <input type="password" name="password_sign_in" id="password_sign_in" value="" placeholder="[% loc('Your password') %]">
+ <input type="password" name="password_sign_in" class="form-control" id="password_sign_in" value="" placeholder="[% loc('Your password') %]">
<input class="green-btn" type="submit" name="sign_in" value="[% loc('Sign in') %]">
</div>
@@ -104,7 +104,7 @@
<h5>[% loc('<strong>No</strong> let me sign in by email') %]</h5>
<label for="name">[% loc('Name') %]</label>
- <input type="text" name="name" value="" placeholder="[% loc('Your name') %]">
+ <input class="form-control" type="text" name="name" value="" placeholder="[% loc('Your name') %]">
<label for="password_register">[% loc('Password (optional)') %]</label>
@@ -113,7 +113,7 @@
</div>
<div class="form-txt-submit-box">
- <input type="password" name="password_register" id="password_register" value="" placeholder="[% loc('Enter a password') %]">
+ <input class="form-control" type="password" name="password_register" id="password_register" value="" placeholder="[% loc('Enter a password') %]">
<input class="green-btn" type="submit" name="email_sign_in" value="[% loc('Sign in') %]">
</div>
</div>