changeset 5073:3b4f38277365

templates: drop autocomplete="off" - it is ignored by browsers This is annoying for admin when setting passwor for other users - we will have to do that in some other way.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 12 Mar 2015 15:34:24 +0100
parents 26cbd84f0493
children 53d6a64ce4f3
files kallithea/templates/admin/auth/auth_settings.html kallithea/templates/admin/my_account/my_account_password.html kallithea/templates/admin/users/user_add.html kallithea/templates/admin/users/user_edit_profile.html kallithea/templates/files/files_browser.html kallithea/templates/register.html
diffstat 6 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/auth/auth_settings.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/admin/auth/auth_settings.html	Thu Mar 12 15:34:24 2015 +0100
@@ -58,7 +58,7 @@
             <div class="field">
                 <div class="label"><label for="${fullsetting}">${_(displayname)}</label></div>
                 <div class="input">
-                    ${h.password(fullsetting,class_='small',autocomplete="off")}
+                    ${h.password(fullsetting,class_='small')}
                     <span class="help-block">${setting["description"]}</span>
                 </div>
             </div>
--- a/kallithea/templates/admin/my_account/my_account_password.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/admin/my_account/my_account_password.html	Thu Mar 12 15:34:24 2015 +0100
@@ -7,7 +7,7 @@
             <label for="current_password">${_('Current password')}:</label>
         </div>
         <div class="input">
-            ${h.password('current_password',class_='medium',autocomplete="off")}
+            ${h.password('current_password',class_='medium')}
         </div>
      </div>
 
@@ -16,7 +16,7 @@
             <label for="new_password">${_('New password')}:</label>
         </div>
         <div class="input">
-            ${h.password('new_password',class_='medium', autocomplete="off")}
+            ${h.password('new_password',class_='medium')}
         </div>
      </div>
 
@@ -25,7 +25,7 @@
             <label for="password_confirmation">${_('Confirm new password')}:</label>
         </div>
         <div class="input">
-            ${h.password('new_password_confirmation',class_='medium', autocomplete="off")}
+            ${h.password('new_password_confirmation',class_='medium')}
         </div>
      </div>
 
--- a/kallithea/templates/admin/users/user_add.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/admin/users/user_add.html	Thu Mar 12 15:34:24 2015 +0100
@@ -41,7 +41,7 @@
                     <label for="password">${_('Password')}:</label>
                 </div>
                 <div class="input">
-                    ${h.password('password',class_='small',autocomplete="off")}
+                    ${h.password('password',class_='small')}
                 </div>
              </div>
 
@@ -50,7 +50,7 @@
                     <label for="password_confirmation">${_('Password confirmation')}:</label>
                 </div>
                 <div class="input">
-                    ${h.password('password_confirmation',class_="small",autocomplete="off")}
+                    ${h.password('password_confirmation',class_="small")}
                 </div>
              </div>
 
--- a/kallithea/templates/admin/users/user_edit_profile.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/admin/users/user_edit_profile.html	Thu Mar 12 15:34:24 2015 +0100
@@ -69,7 +69,7 @@
                     <label for="new_password">${_('New password')}:</label>
                 </div>
                 <div class="input">
-                    ${h.password('new_password',class_='medium%s' % disabled,autocomplete="off",readonly=readonly)}
+                    ${h.password('new_password',class_='medium%s' % disabled,readonly=readonly)}
                 </div>
              </div>
 
@@ -78,7 +78,7 @@
                     <label for="password_confirmation">${_('New password confirmation')}:</label>
                 </div>
                 <div class="input">
-                    ${h.password('password_confirmation',class_="medium%s" % disabled,autocomplete="off",readonly=readonly)}
+                    ${h.password('password_confirmation',class_="medium%s" % disabled,readonly=readonly)}
                 </div>
              </div>
 
--- a/kallithea/templates/files/files_browser.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/files/files_browser.html	Thu Mar 12 15:34:24 2015 +0100
@@ -47,7 +47,7 @@
             <div>
                 <div id="node_filter_box_loading" style="display:none">${_('Loading file list...')}</div>
                 <div id="node_filter_box" style="display:none">
-                ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}/<input class="init" type="text" value="type to search..." name="filter" size="25" id="node_filter" autocomplete="off">
+                ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}/<input class="init" type="text" value="type to search..." name="filter" size="25" id="node_filter">
                 </div>
             </div>
         </div>
--- a/kallithea/templates/register.html	Tue Apr 28 16:46:26 2015 +0200
+++ b/kallithea/templates/register.html	Thu Mar 12 15:34:24 2015 +0100
@@ -33,7 +33,7 @@
                         <label for="password">${_('Password')}:</label>
                     </div>
                     <div class="input">
-                        ${h.password('password',class_="medium",autocomplete="off")}
+                        ${h.password('password',class_="medium")}
                     </div>
                 </div>
 
@@ -42,7 +42,7 @@
                         <label for="password">${_('Re-enter password')}:</label>
                     </div>
                     <div class="input">
-                        ${h.password('password_confirmation',class_="medium",autocomplete="off")}
+                        ${h.password('password_confirmation',class_="medium")}
                     </div>
                 </div>