changeset 364a7de90983 in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset;node=364a7de90983
description:
        Center buttons on user forms
diffstat:

 html/user.item.html     |  2 +-
 html/user.register.html |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 8243bc2e1ae9 -r 364a7de90983 html/user.item.html
--- a/html/user.item.html       Fri Oct 23 15:46:42 2020 +0200
+++ b/html/user.item.html       Fri Oct 23 15:47:42 2020 +0200
@@ -152,7 +152,7 @@
         </tr>
         {% if context.is_edit_ok() %}
           <tr class="form-actions">
-            <td>
+            <td colspan="2" class="text-center">
             <input type="hidden" name="@template" value="item">
             {{ context.submit(html_kwargs={ 'class': 'btn btn-success' 
})|u|safe }}
             <input type="reset" class="btn btn-secondary">
diff -r 8243bc2e1ae9 -r 364a7de90983 html/user.register.html
--- a/html/user.register.html   Fri Oct 23 15:46:42 2020 +0200
+++ b/html/user.register.html   Fri Oct 23 15:47:42 2020 +0200
@@ -80,7 +80,7 @@
         </td>
       </tr>
       <tr class='form-actions'>
-        <td>
+        <td colspan="2" class="text-center">
         <input type="hidden" name="@template" value="register">
         <input name="@csrf" type="hidden"
                value="{{ utils.anti_csrf_nonce() }}">

Reply via email to