changeset a5e58086843d in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset&node=a5e58086843d
description:
        Use form-control class for user registration form
diffstat:

 html/user.register.html |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (72 lines):

diff -r ed166b127e4e -r a5e58086843d html/user.register.html
--- a/html/user.register.html   Sun May 16 22:18:40 2021 +0200
+++ b/html/user.register.html   Sun May 16 22:19:25 2021 +0200
@@ -20,45 +20,45 @@
       <tr>
         <th>{% trans %}Name{% endtrans %}</th>
         <td>
-          <input type='text' name="realname">
+          <input class="form-control" type='text' name="realname">
         </td>
       </tr>
       <tr>
         <th>{% trans %}Login Name{% endtrans %}</th>
         <td>
-          <input type='text' name='username' required>
+          <input class="form-control" type='text' name='username' required>
         </td>
       </tr>
       <tr>
         <th>{% trans %}Login Password{% endtrans %}</th>
         <td>
-          <input type='password' name='password' required>
+          <input class="form-control" type='password' name='password' required>
         </td>
       </tr>
       <tr>
         <th>{% trans %}Confirm Password{% endtrans %}</th>
         <td>
-          <input type='password' name='@confirm@password'>
+          <input class="form-control" type='password' name='@confirm@password'>
         </td>
       </tr>
       {% if request.user.hasPermission('Web Roles') %}
         <tr>
           <th>{% trans %}Roles <br>(comma separated){% endtrans %}</th>
           <td>
-            <input type='text' name='roles' value='{{ context.roles.plain()|u 
}}'>
+            <input class="form-control" type='text' name='roles' value='{{ 
context.roles.plain()|u }}'>
           </td>
         </tr>
       {% endif %}
       <tr>
         <th>{% trans %}Phone{% endtrans %}</th>
         <td>
-          <input type='text' name='phone'>
+          <input class="form-control" type='text' name='phone'>
         </td>
       </tr>
       <tr>
         <th>{% trans %}Organisation{% endtrans %}</th>
         <td>
-          <input type='text' name='organisation'>
+          <input class="form-control" type='text' name='organisation'>
         </td>
       </tr>
       <tr>
@@ -81,13 +81,13 @@
       <tr>
         <th>{% trans %}Email{% endtrans %}</th>
         <td>
-          <input type='text' name='address' required>
+          <input class="form-control" type='text' name='address' required>
         </td>
       </tr>
       <tr>
         <th>{% trans %}Alternate email address <br>One address per line{% 
endtrans %}</th>
         <td>
-          {{ context.alternate_addresses.multiline()|u|safe }}
+          {{ 
context.alternate_addresses.multiline(class="form-control")|u|safe }}
         </td>
       </tr>
       <tr>

Reply via email to