~jan0sch/smederee

Showing details for patch 55289af6414a8b2236d57a011b99a0cc5ef685f3.
2022-07-12 (Tue), 1:01 PM - Jens Grassel - 55289af6414a8b2236d57a011b99a0cc5ef685f3

Signup: autocomplete for username

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/hub/views/signup.scala.html with 1 added and 1 removed lines
diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/signup.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/signup.scala.html
--- old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/signup.scala.html	2025-02-03 05:07:20.223484461 +0000
+++ new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/signup.scala.html	2025-02-03 05:07:20.223484461 +0000
@@ -19,7 +19,7 @@
         <fieldset id="signup-data">
           <div class="pure-control-group">
             <label for="@{fieldName}">Username</label>
-            <input class="pure-input-1-2" id="@{fieldName}" name="@{fieldName}" placeholder="Please choose your username." maxlength="31" required="" type="text" value="@{formData.get(fieldName)}">
+            <input class="pure-input-1-2" id="@{fieldName}" name="@{fieldName}" placeholder="Please choose your username." maxlength="31" required="" type="text" value="@{formData.get(fieldName)}" autocomplete="username">
             <small class="pure-form-message" id="@{fieldName}.help">A username is required because it will be used to group your projects and other stuff. It must be between 2 and 31 characters long and contain only lowercase alphanumeric characters and start with a character (letter).</small>
             @renderFormErrors(fieldName, formErrors)
           </div>