Forms not rendering

I just installed Grav but cannot get the forms to render.

My form.md looks like this and I have installed the form plugin

title: A page with a form
form:
name: my-nice-form
fields:
- name: name
label: Name
placeholder: Enter your name
autofocus: on
autocomplete: on
type: text
validate:
required: true

    - name: email
      label: Email
      placeholder: Enter your email address 
      type: text
      validate:
        rule: email
        required: true

buttons:
    - type: submit
      value: Submit
    - type: reset
      value: Reset

Are you using Antimatter or one of the default themes? The theme contains the templates/form.html.twig file?

P.S. use triple backticks (```) to render the code nicely in the forum