From 5087bd017e15504b0d4cee6b2b40ce945e5a0929 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Jan 2018 15:59:26 +0100 Subject: Adapt layout for bootstrap v4-beta3 --- archaeological_operations/templates/ishtar/blocks/OAWidget.html | 4 +++- archaeological_operations/widgets.py | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/blocks/OAWidget.html b/archaeological_operations/templates/ishtar/blocks/OAWidget.html index 1cce45909..6f4c1af24 100644 --- a/archaeological_operations/templates/ishtar/blocks/OAWidget.html +++ b/archaeological_operations/templates/ishtar/blocks/OAWidget.html @@ -1,4 +1,6 @@
- OA +
+
OA
+
\ No newline at end of file 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"""{} - """.format(render, _(u"Add")) +
+ +
""".format(render, _(u"Add")) return mark_safe(html) -- cgit v1.2.3