method template with form