diff --git a/rattail/pyramid/views/labels.py b/rattail/pyramid/views/labels.py index 931cb14e..be2be88a 100644 --- a/rattail/pyramid/views/labels.py +++ b/rattail/pyramid/views/labels.py @@ -33,8 +33,9 @@ import formalchemy from webhelpers.html import HTML from edbob.pyramid import Session -from edbob.pyramid.grids.search import BooleanSearchFilter from edbob.pyramid.views import SearchableAlchemyGridView, CrudView +from edbob.pyramid.grids.search import BooleanSearchFilter +from edbob.pyramid.forms import StrippingFieldRenderer import rattail @@ -101,6 +102,8 @@ class ProfileCrud(CrudView): return super(FormatFieldRenderer, self).render(**kwargs) fs = self.make_fieldset(model) + fs.printer_spec.set(renderer=StrippingFieldRenderer) + fs.formatter_spec.set(renderer=StrippingFieldRenderer) fs.format.set(renderer=FormatFieldRenderer) fs.configure( include=[