diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-17 15:59:26 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-01-17 15:59:26 +0100 |
commit | 5087bd017e15504b0d4cee6b2b40ce945e5a0929 (patch) | |
tree | 7b9879d7b3d2cdc0cbc2e22b41b97cea51fdef89 /archaeological_operations/widgets.py | |
parent | 8975cbd94eb6b34b9ee3038041705674a092d300 (diff) | |
download | Ishtar-5087bd017e15504b0d4cee6b2b40ce945e5a0929.tar.bz2 Ishtar-5087bd017e15504b0d4cee6b2b40ce945e5a0929.zip |
Adapt layout for bootstrap v4-beta3
Diffstat (limited to 'archaeological_operations/widgets.py')
-rw-r--r-- | archaeological_operations/widgets.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_operations/widgets.py b/archaeological_operations/widgets.py index 1d53bb199..04e0fcdfd 100644 --- a/archaeological_operations/widgets.py +++ b/archaeological_operations/widgets.py @@ -53,8 +53,10 @@ class SelectParcelWidget(widgets.TextInput): def render(self, *args, **kwargs): render = super(SelectParcelWidget, self).render(*args, **kwargs) html = u"""{} - <button class='input-group-addon btn btn-success' name='formset_add' - value='add'>{}</button>""".format(render, _(u"Add")) + <div class="input-group-append"> + <button class='input-group-text btn btn-success' name='formset_add' + value='add'>{}</button> + </div>""".format(render, _(u"Add")) return mark_safe(html) |