Commits

Torsten Irländer  committed f9c8ca4

Removed Formalchemy FieldRenderer

  • Participants
  • Parent commits 4c60502

Comments (0)

Files changed (2)

File formbar/renderer.py

         return "".join(html)
 
 
-class FAFieldRenderer(FieldRenderer):
-    """A Renderer which uses the FormAlchemy renderer configured for the
-    FA field in for this field."""
-
-    def __init__(self, field, translate):
-        FieldRenderer.__init__(self, field, translate)
-        self.template = template_lookup.get_template("fa_field.mako")
-
-
 class TextFieldRenderer(FieldRenderer):
     """A Renderer to render simple fa_field elements"""
 

File formbar/templates/fa_field.mako

-% if field.is_readonly():
-  <div class="readonlyfield">
-    ${field._fa_field.render() or "&nbsp;"}
-  </div>
-% else:
-  ${field._fa_field.render()}
-% endif