I customised my contact form and all seems to be working until I click send and the next page comes up with an error saying “expected Hash to be a String: email”
What does this mean?
This is the code I’m using - I cant work out what might be wrong..
{{ page.title }}
{{ page.content }}
{% form 'contact' %}
{% comment %}
Successful message
{% endcomment %}
{% if form.posted_successfully? %}
{{ 'contact.form.post_success' | t }}
{% endif %}{{ form.errors | default_errors }}
Name
Email
Phone
Wedding Date
Ceremony Location
Reception Location
Budget
Message
{% if form.body %}{{ form.body }}{% endif %}How did you hear about us?
{% endform %}