Commit 8bc83974 authored by Philipp Hörist's avatar Philipp Hörist

Dataforms: Add is_fake_form() method

parent ecb882e0
......@@ -592,6 +592,9 @@ class DataRecord(ExtendedNode):
return False
return True
def is_fake_form(self):
return bool(self.vars.get('fakeform', False))
class DataForm(ExtendedNode):
def __init__(self, type_=None, title=None, instructions=None, extend=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment