public static function form($slug, $name = '', array $attributes = []){
        $class_name = get_called_class();
        /** @var AjaxBaseForm $instance */
        $instance = $class_name::get_instance();
        $instance->form_open($attributes);
        $args = $instance->form_arguments();
        $instance->load_template($slug, $name, $args);
        $instance->form_close();
    }