return async (env, _out) => { form#contact-form(method="post" action="contact.html" role="form") { div.row { div.col-md-6 { div.form-group { label(for="contact_form_first_name") {'First name *'} input.form-control#contact_form_first_name(type="text" name="first_name" placeholder="Please enter your first name" required="required" data-error="First name is required.") {} div.help-block.with-errors {} } } div.col-md-6 { div.form-group { label(for="contact_form_last_name") {'Last name *'} input.form-control#contact_form_last_name(type="text" name="last_name" placeholder="Please enter your last name" required="required" data-error="Last name is required.") {} div.help-block.with-errors {} } } } div.row { div.col-md-6 { div.form-group { label(for="contact_form_company") {'Company'} input.form-control#contact_form_company(type="company" name="company" placeholder="Please enter your company") {} div.help-block.with-errors {} } } div.col-md-6 { div.form-group { label(for="contact_form_email") {'Email *'} input.form-control#contact_form_email(type="email" name="email" placeholder="Please enter your email" required="required" data-error="Valid email is required.") {} div.help-block.with-errors {} } } } div.row { div.col-md-12 { div.form-group { label(for="contact_form_message") {'Message *'} textarea.form-control#contact_form_message(name="message" placeholder="Please explain your situation" rows="4" required="required" data-error="Please, leave us a message.") {} div.help-block.with-errors {} } } } p {} // fix this later div.row { div.col-md-12 { input.btn.btn-success.btn-send(type="submit" value="Send message") {} } } p {} // fix this later div.row { div.col-md-12 { p.text-muted { strong {'*'} 'These fields are required.' //'Contact form template by ' //a(href="https://bootstrapious.com/p/how-to-build-a-working-bootstrap-contact-form" target="_blank") {'Bootstrapious'} //'.' } } } } }