Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {# form markup #}
- <select class='form__input' name="message[About]">
- {% nav link in craft.entries.section('products') %}
- <option value="{{ link.title }}">{{ link.title }}</option>
- {% endnav %}
- <option value="Services">Services</option>
- <option value="Consultancy">Consultancy</option>
- <option value="General enquiry">General enquiry</option>
- </select>
- <div class='input'>
- <label class='form__label' for='fromEmail'>Your email address</label>
- <input class='form__input' id='fromEmail' name='fromEmail' type='email' placeholder='Email address' value='{% if message is defined %}{{ message.fromEmail }}{% endif %}'>
- </div>
- <div class='input'>
- <label class='form__label' for='message'>Details</label>
- <textarea class='form__input form__input--textarea' id='message' name='message' placeholder='Tell us more'>{% if message is defined %}{{ message.message }}{% endif %}</textarea>
- </div>
- {# form closing markup/submit button #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement