class FormDataInCaseAdminInterface(BaseIndicatorAdminInterface):
    name = FormDataInCaseIndicatorDefinition.get_nice_name()
    description = ("Takes the value from the question_id / data_node path specified from that case's related form(s)"
                   "---matched by XMLNS---and inserts it into that case's indicators.")
    slug = "case_form_data"
    document_class = FormDataInCaseIndicatorDefinition
    form_class = FormDataInCaseForm

    @property
    def headers(self):
        header = super(FormDataInCaseAdminInterface, self).headers
        header.insert_column(DataTablesColumn("Case Type"), -3)
        header.insert_column(DataTablesColumn("XMLNS or Label"), -3)
        header.insert_column(DataTablesColumn("Question ID"), -3)
        return header