Commit f9532825 authored by Philipp Hörist's avatar Philipp Hörist

DataForms: Detect <reported> element

parent ff2e13a9
......@@ -667,6 +667,10 @@ class DataForm(ExtendedNode):
for value in self.getTags('instructions'):
self.delChild(value)
@property
def is_reported(self):
return self.getTag('reported') is not None
class SimpleDataForm(DataForm, DataRecord):
def __init__(self, type_=None, title=None, instructions=None, fields=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