diff options
Diffstat (limited to 'accounts/templates/_macros.html')
-rw-r--r-- | accounts/templates/_macros.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/templates/_macros.html b/accounts/templates/_macros.html index efb4b2d..f92a623 100644 --- a/accounts/templates/_macros.html +++ b/accounts/templates/_macros.html @@ -1,7 +1,7 @@ {% macro render_submit() %} <div class="control-group"> <div class="controls"> - <input type="submit" + <input class="btn btn-secondary mb-4" type="submit" {%- for key, value in kwargs.items() %} {{key}}="{{value}}" {% endfor %} @@ -15,9 +15,9 @@ {{ field()|safe }} {% else %} <div class="control-group"> - {{ field.label }} + <label class="form-label">{{ field.label }}</label> <div class="controls"> - {{ field(**kwargs)|safe }} + {{ field(class_="form-control mb-4", **kwargs)|safe }} {{ render_errors(field.errors) }} </div> </div> |