Home Theme-templates Contact-us-index
contact_us/index.liquid
The contact_us/index.liquid
template is used to render the contact us page. It includes an HTML <form>
that visitors use to contact with listing owner.
Template Considerations
Map Section
- Render google map from the specifies latitude and longtitude
Contact Details Section
- Show listing address
- Show listing communication such as phones, emails
- Show Business Hours
Contact Form Section
-
To output a form that visitors use to send an email to contact listing owner, initialize the form tag with the parameter contact. Within the form, include the following:
- Input of type text with the name attribute
contact[name]
- Input of type text with the name attribute
contact[phone]
- Textarea with the name attribute
contact[body]
- Input of type submit to submit the form.
- Input of type reset to reset the form.
- Error messages are output properly
- Input of type text with the name attribute