diff options
Diffstat (limited to 'archaeological_operations/widgets.py')
| -rw-r--r-- | archaeological_operations/widgets.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/widgets.py b/archaeological_operations/widgets.py index 4ea86188f..fa7306208 100644 --- a/archaeological_operations/widgets.py +++ b/archaeological_operations/widgets.py @@ -52,18 +52,18 @@ class ParcelWidget(widgets.MultiWidget):  class SelectParcelWidget(widgets.TextInput):      def render(self, *args, **kwargs):          render = super(SelectParcelWidget, self).render(*args, **kwargs) -        html = u"""{} +        html = """{}      <div class="input-group-append">          <button class='input-group-text btn btn-success' name='formset_add'              value='add'>{}</button> -    </div>""".format(render,  _(u"Add")) +    </div>""".format(render,  _("Add"))          return mark_safe(html)  class OAWidget(forms.TextInput):      def render(self, name, value, attrs=None, renderer=None):          if not value: -            value = u"" +            value = ""          final_attrs = flatatt(              self.build_attrs(attrs, {'name': name, 'value': value}))          dct = {'final_attrs': final_attrs,  | 
