public function MapperForm()
    {
        $fields = new FieldList(
            CheckboxField::create("HasHeader",
                "This data includes a header row.",
                true
            )
        );
        if ($this->component->getCanClearData()) {
            $fields->push(
                CheckboxField::create("ClearData",
                    "Remove all existing records before import."
                )
            );
        }
        $actions = new FieldList(
            new FormAction("import", "Import CSV"),
            new FormAction("cancel", "Cancel")
        );
        $form = new Form($this, __FUNCTION__, $fields, $actions);

        return $form;
    }