Skip to content

Commit

Permalink
Merge pull request #1317 from Tiggerito/contact-form-tracking
Browse files Browse the repository at this point in the history
Add div and id attributes so that contact form steps can be tracked
  • Loading branch information
Ubersmake authored Sep 24, 2018
2 parents 4e8c212 + 4d8b740 commit c85d2b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/components/page/contact-us-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{inject 'contactEmail' (lang 'forms.validate.contact.email_address')}}
{{inject 'contactQuestion' (lang 'forms.validate.contact.question')}}
{{#if forms.contact.error}}
{{> components/common/alert-error forms.contact.error}}
<div id="contact-us-error">{{> components/common/alert-error forms.contact.error}}</div>
{{/if}}
<input type="hidden" name="page_id" id="page_id" value="{{forms.contact.page_id}}">
<div class="form-row form-row--half">
Expand Down
4 changes: 2 additions & 2 deletions templates/pages/contact-us.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ <h1 class="page-heading">{{page.title}}</h1>
</nav>
{{/if}}

<div class="page-content page-content--centered">
<div id="contact-us-page" class="page-content page-content--centered">
{{#if forms.contact.success}}
{{{lang 'forms.contact_us.successful' shopPath=urls.home}}}
<div id="contact-us-success">{{{lang 'forms.contact_us.successful' shopPath=urls.home}}}</div>
{{else}}
<p>{{{page.content}}}</p>
{{> components/page/contact-us-form}}
Expand Down

0 comments on commit c85d2b8

Please sign in to comment.