src/pyams_content/component/paragraph/contact.py
changeset 419 824fef808845
parent 412 b5a33146bd3d
child 423 7dd6cb55f5c7
equal deleted inserted replaced
418:81e4e9b9cde2 419:824fef808845
   100                 field_title = translate(IContactParagraph[attr].title)
   100                 field_title = translate(IContactParagraph[attr].title)
   101                 output.append(translate(MISSING_VALUE).format(field=field_title))
   101                 output.append(translate(MISSING_VALUE).format(field=field_title))
   102         return output
   102         return output
   103 
   103 
   104 
   104 
   105 @vocabulary_config(name='PyAMS contact renderers')
   105 @vocabulary_config(name='PyAMS contact paragraph renderers')
   106 class ContactParagraphRendererVocabulary(SimpleVocabulary):
   106 class ContactParagraphRendererVocabulary(SimpleVocabulary):
   107     """Contact paragraph renderers vocabulary"""
   107     """Contact paragraph renderers vocabulary"""
   108 
   108 
   109     def __init__(self, context=None):
   109     def __init__(self, context=None):
   110         request = check_request()
   110         request = check_request()