slow-steps 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_config.yml +3 -3
  4. data/_includes/contact-form.html +1 -1
  5. data/_includes/cookie-consent.html +21 -0
  6. data/_includes/footer/footer.html +64 -7
  7. data/_includes/footer/footer_redesign.html +139 -0
  8. data/_includes/forms/mc-register.html +124 -110
  9. data/_includes/functions/calc-svg-coord.html +2 -0
  10. data/_includes/functions/reposition-svg-labels.html +44 -0
  11. data/_includes/head/descriptors/og-meta.html +0 -1
  12. data/_includes/head/descriptors/structured-data.html +3 -3
  13. data/_includes/head/descriptors/twitter-meta.html +1 -1
  14. data/_includes/{google-analytics.html → head/google-analytics.html} +9 -2
  15. data/_includes/head/head.html +6 -4
  16. data/_includes/head/stylesheets.html +3 -0
  17. data/_includes/image-post.html +1 -1
  18. data/_includes/navigation/global.html +57 -44
  19. data/_includes/scripts.html +3 -1
  20. data/_layouts/default.html +1 -1
  21. data/_layouts/env/clinician.html +6 -6
  22. data/_layouts/env/landing.html +8 -8
  23. data/_layouts/env/pwp.html +3 -3
  24. data/_layouts/faq.html +3 -0
  25. data/_layouts/feed.html +1 -1
  26. data/_layouts/post.html +1 -1
  27. data/_sass/_colors/_variables.sass +2 -0
  28. data/_sass/_functions.sass +9 -0
  29. data/_sass/_mixins.sass +6 -3
  30. data/_sass/about.sass +3 -1
  31. data/_sass/breakpoints/about.sass +11 -2
  32. data/_sass/collage.sass +2 -1
  33. data/_sass/contact.sass +2 -2
  34. data/_sass/env/breakpoints/768.sass +16 -11
  35. data/_sass/env/clinician.sass +12 -7
  36. data/_sass/env/landing.sass +18 -3
  37. data/_sass/env/pwp.sass +11 -2
  38. data/_sass/faq.sass +9 -1
  39. data/_sass/feed.sass +2 -2
  40. data/_sass/footer.sass +174 -14
  41. data/_sass/footer_redesign.sass +353 -0
  42. data/_sass/forms/mc-forms.sass +9 -0
  43. data/_sass/global.sass +79 -8
  44. data/_sass/navigation/_variables.sass +3 -3
  45. data/_sass/navigation/base.sass +14 -4
  46. data/_sass/navigation/breakpoints/1024.sass +33 -8
  47. data/_sass/navigation/burger.sass +1 -1
  48. data/_sass/typography/_variables.sass +1 -1
  49. data/_sass/typography/resets.sass +2 -2
  50. data/assets/css/env/gaitq_clinician.sass +1 -1
  51. data/assets/css/env/gaitq_landing.sass +1 -1
  52. data/assets/css/env/gaitq_pwp.sass +1 -1
  53. data/assets/css/gaitq_errors.sass +13 -1
  54. data/assets/js/mobile-nav-slider.js +1 -1
  55. data/assets/js/svg_text_width.js +4 -4
  56. metadata +7 -6
  57. data/_includes/footer/footer_full.html +0 -79
  58. data/_includes/functions/pull_page_args.html +0 -31
  59. data/_sass/footer_full.sass +0 -183
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9d1c88ec0b493bea3723570d98ef400e5d009e0e3b410909808c6b35e17e845
4
- data.tar.gz: 978803f523fdbc4efc9b2acbd6e6f3f8f0e9922fc2968aa2284ec701496a71b0
3
+ metadata.gz: e4a1d4bde8448a9b326115676b5b1ff9d15522b3ccff4c67861c3081d5ad7db5
4
+ data.tar.gz: f78cfe5499f41c77606a9b08c37ad01a38f60a6cce554eb43bf38769be26e0a2
5
5
  SHA512:
6
- metadata.gz: '028f491628453ae0c41ae8d4edc2a9657c0dc84adac901d32ef3868ff40d7df593cf5fd65d5dc1137b32964eae1f208962b49cd0fc0e6c58cfed934b9b1f554b'
7
- data.tar.gz: b4a15f9e3cc37c5a52522460f95098b6edf54858184113a3c1dcffd1c81fa42643a909094a8bb08e544acb827975b5daba41ab7c3d917a463dbed7f56776e5fa
6
+ metadata.gz: 1ac85811ac4949da04d07b7d2de9f56617d4d87edfb7c75de70b808198eaff716228bc62582e80991c136d49e214bfe109825d8afa45935bf978965be08f874d
7
+ data.tar.gz: a162ddf4369a1cd0aad3ca6ca728b77a961c4105eeb98437cecd25e480fa254efbee90af6e9302e86b3787a3d3df38bb0debdf7781fd1c9704736744c11c2b77
data/README.md CHANGED
@@ -37,7 +37,7 @@ https://github.com/madeslowly/slow-steps/
37
37
  | |
38
38
  | ├─ footer/ # Site wide footers
39
39
  | | |
40
- | | ├─ footer_full.html # Multi col footer
40
+ | | ├─ footer.html # Multi col footer
41
41
  | | |
42
42
  | | ├─ footer.html # Simple footer
43
43
  | |
data/_config.yml CHANGED
@@ -4,8 +4,8 @@
4
4
  #
5
5
  #################################################################################
6
6
 
7
- # Site author
8
- author:
7
+ # Site developer
8
+ developer:
9
9
  name: Made Slowly
10
10
  email: arran@madeslowly.co.uk
11
11
  url: https://www.madeslowly.co.uk/
@@ -42,7 +42,7 @@ sass:
42
42
 
43
43
  compress_html:
44
44
  ignore:
45
- envs: all
45
+ envs: local
46
46
  comments: all
47
47
 
48
48
  autoprefixer:
@@ -3,7 +3,7 @@
3
3
 
4
4
  <form action="https://formspree.io/f/{{ site.formspree }}" method="post" >
5
5
 
6
- <label for="name">Enter your name</label>
6
+ <label for="name">Enter your full name</label>
7
7
  <input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
8
8
 
9
9
  <label for="email">Enter your email</label>
@@ -0,0 +1,21 @@
1
+ <!--
2
+ This is where we put scripts for managing cookie consent
3
+ This is placed before /body along with _include/scripts.html
4
+ -->
5
+
6
+ <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
7
+
8
+ <script>
9
+ window.cookieconsent.initialise({
10
+
11
+ "theme": "block",
12
+ "position": "top",
13
+ "content": {
14
+ "message": "{{ site.cookieconsent.message }}",
15
+ "dismiss": "{{ site.cookieconsent.button }}",
16
+ "link": "Tell me more.",
17
+ "href": "/privacy-policy/#cookies",
18
+ "target": "_self"
19
+ }
20
+ });
21
+ </script>
@@ -1,22 +1,79 @@
1
- <footer class="ft__wrap">
1
+ <!-- footer -->
2
+ <footer class="ft__wrapper">
3
+
4
+ <div class="ft__head">
5
+
6
+ </div>
7
+ <div class="ft__body">
8
+
9
+ <div class="ft__contact ft__col">
10
+
11
+ <a href="{{ site.baseurl }}/">
12
+ {% include /branding/site-logo.svg %}
13
+ </a>
14
+ <div class="ft__contact__add">
15
+ <ul class="ft__contact--list">
16
+ {% for item in site.postal_add %}
17
+ <li class="address">{{ item[1] }}</li>
18
+ {% endfor %}
19
+ <li><a class="ft--link" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
+ <li>{{ site.phone }}</li>
21
+
22
+ <ul class="social-media">
23
+
24
+ {% for social in site.socials %}
25
+ <li class="social-media-item">
26
+ <a href="{{ social.url }}">
27
+ <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
28
+ </li>
29
+ {% endfor %}
30
+
31
+ </ul>
32
+
33
+ </ul>
34
+
35
+ </div>
36
+ </div>
37
+
38
+ <div class="ft__sitemap ft__col">
39
+ <div class="ft__sitemap--menu">
40
+ <h3 class="ft__sitemap--header">INFORMATION FOR</h3>
41
+
42
+ <div class="ft__sitemap--env-wrap">
43
+ {% for item in site.data.menu.navigation %}
44
+
45
+ <div class="ft__sitemap--env">
46
+
47
+ <h4 class="ft__sitemap--env-header">{{ item.name }}</h4>
48
+ <ul class="ft__sitemap--submenu">
49
+ {% for sub in item.submenu %}
50
+ <li><a class="ft--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
51
+ {% endfor %}
52
+ </ul>
53
+ </div>
54
+
55
+ {% endfor %}
56
+
57
+ </div>
58
+ </div>
59
+ </div>
60
+
61
+ </div>
62
+ <!-- footer base and copyright -->
2
63
 
3
64
  <div class="ft__base">
4
65
 
5
- <div class="owner-links">
6
- <p><a href="https://jekyllrb.com/" class="slogan">Jekyll</a> theme <a href="https://rubygems.org/gems/slow-steps/">slow steps</a> by <a href="{{ site.author.url }}" class="slogan">made slowly</a></p>
7
66
  <p class="copyright">&copy; <script>
8
67
  document.write(new Date().getFullYear())
9
- </script> {{ site.title }} Limited</p>
68
+ </script> {{ site.title }}</p>
10
69
 
11
70
 
12
- </div>
13
71
  <div class="legal-links">
14
72
  {% for item in site.data.menu.legals %}
15
73
  <a href="{{ item.url }}">{{ item.name }}</a>
16
74
  {% endfor %}
17
75
  </div>
18
-
19
-
76
+ <a href="{{ site.developer.url }}" class="slogan">Jekyll theme Slow Steps</a>
20
77
  </div>
21
78
 
22
79
  </footer>
@@ -0,0 +1,139 @@
1
+ <!-- footer -->
2
+ <footer class="ft__wrapper">
3
+
4
+ <div class="ft__body">
5
+
6
+ <div class="ft__company">
7
+
8
+
9
+ <div class="ft__company__add">
10
+ <ul>
11
+ <li class="ft__company__logo">
12
+ {% include /branding/site-logo.svg %}
13
+ </li>
14
+
15
+ <li class="ft__company__no">{{ site.company.registration }} {{ site.company.number }}.</li>
16
+ <!--
17
+ <li class="address"><h4>Registered office</h4></li>
18
+ {% for item in site.postal_add %}
19
+ <li class="address">{{ item[1] }}</li>
20
+ {% endfor %}
21
+ -->
22
+ </ul>
23
+
24
+ </div>
25
+ </div>
26
+
27
+
28
+
29
+ <div class="ft__sitemap">
30
+ <div class="ft__sitemap--menu">
31
+
32
+ {% if page.url != "/" %}
33
+
34
+ <h2 class="ft__sitemap--header">COMAPNY INFORMATION</h2>
35
+
36
+ <div class="ft__sitemap--env-wrap">
37
+
38
+ {% for item in site.data.menu.navigation %}
39
+
40
+ {% if item.env == page.env %}
41
+
42
+ <div class="ft__sitemap--env">
43
+
44
+ <ul class="ft__sitemap--submenu ft__sitemap--company">
45
+
46
+ {% for sub in item.submenu %}
47
+ {% if sub.id == 'footer' %}
48
+
49
+ <li><a class="ft__sitemap--link " href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
50
+
51
+ {% endif %}
52
+ {% endfor %}
53
+
54
+ </ul>
55
+ </div>
56
+ {% endif %}
57
+
58
+ {% endfor %}
59
+
60
+ </div>
61
+
62
+ {% endif %}
63
+
64
+
65
+
66
+ <h2 class="ft__sitemap--header">INFORMATION FOR</h2>
67
+
68
+ <div class="ft__sitemap--env-wrap">
69
+ {% for item in site.data.menu.navigation %}
70
+
71
+ <div class="ft__sitemap--env">
72
+
73
+ <h3 class="ft__sitemap--env-header">{{ item.name }}</h3>
74
+ <ul class="ft__sitemap--submenu">
75
+ {% for sub in item.submenu %}
76
+ {% if sub.id == 'nav' %}
77
+
78
+ <li><a class="ft__sitemap--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
79
+
80
+ {% endif %}
81
+ {% endfor %}
82
+ </ul>
83
+ </div>
84
+
85
+ {% endfor %}
86
+
87
+ </div>
88
+
89
+ </div>
90
+ </div>
91
+
92
+
93
+ <div class="ft__contact">
94
+
95
+ <h2 class="ft__contact--header">Connect with us</h2>
96
+
97
+ <ul>
98
+ <li class="ft__contact--link"><a href="mailto:{{ site.email }}"><i class="fas fa-envelope"></i>{{ site.email }}</a></li>
99
+
100
+ <li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li>
101
+
102
+ </ul>
103
+
104
+ <ul class="social-media">
105
+
106
+ {% for social in site.socials %}
107
+ <li class="social-media-item">
108
+ <a href="{{ social.url }}">
109
+ <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
110
+ </li>
111
+ {% endfor %}
112
+
113
+ </ul>
114
+
115
+
116
+
117
+ </div>
118
+ </div>
119
+
120
+
121
+
122
+ <!-- footer base and copyright -->
123
+
124
+ <div class="ft__base">
125
+
126
+ <p class="copyright">&copy; <script>
127
+ document.write(new Date().getFullYear())
128
+ </script> {{ site.title }}</p>
129
+
130
+
131
+ <div class="legal-links">
132
+ {% for item in site.data.menu.legals %}
133
+ <a href="{{ item.url }}">{{ item.name }}</a>
134
+ {% endfor %}
135
+ </div>
136
+ <a href="{{ site.developer.url }}" class="slogan">Jekyll theme Slow Steps</a>
137
+ </div>
138
+
139
+ </footer>
@@ -2,156 +2,170 @@
2
2
  <form action="{{ site.data.forms[page.env].action }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
3
3
 
4
4
  <div class="form__block">
5
+
5
6
  <h2 class="form--title">{{ site.data.forms[page.env].header }}</h2>
6
7
 
7
8
  <p class="form--strap">{{ site.data.forms[page.env].strapline }}</p>
8
- {% for item in site.data.forms[page.env].inputs %}
9
9
 
10
- <div class="
11
- form__elem
12
- {{ item.type }}__elem
13
- mc--{{ item.width }}
14
- mc-field-group
10
+ {% for item in site.data.forms[page.env].inputs %}
11
+ <div class="form__elem {{ item.type }}__elem mc--{{ item.width }} mc-field-group
15
12
  {% if item.type == 'select' OR item.type == 'radio' %}input-group{% endif %}">
16
13
 
17
- <label class="form--label {{ item.type }}-label" for="{{ item.mce-id }}">
14
+ <label class="form--label {{ item.type }}-label" for="{{ item.id }}">
18
15
  {{ item.label }}
19
16
  {% if item.required %}
20
17
  <span class="mc-asterisk">*</span>
21
18
  {% endif %}
22
19
  </label>
23
20
  {% if item.type == 'radio' %}
24
- <ul>
25
- {% for option in item.opts %}
26
- <li>
27
- <input
28
- type="{{ item.type }}"
29
- value="{{ option.value }}"
30
- name="{{ item.name }}"
31
- id="{{ item.mce-id }}-{{ option.mce-id }}" {{ item.autofocus }}>
32
- <label
33
- for="{{ item.mce-id }}-{{ option.mce-id }}">
34
- {{ option.name }}
35
- </label>
36
- </li>
37
- {% endfor %}
38
- </ul>
21
+ <ul>
22
+ {% for option in item.opts %}
23
+ <li>
24
+ <input type="{{ item.type }}" value="{{ option.value }}" name="{{ item.name }}"
25
+ id="{{ item.id }}-{{ option.id }}" {{ item.autofocus }}>
26
+ <label for="{{ item.id }}-{{ option.id }}">
27
+ {{ option.name }}
28
+ </label>
29
+ </li>
30
+ {% endfor %}
31
+ </ul>
39
32
  {% endif %}
40
33
 
41
34
  {% if item.type == 'select' %}
42
- <select name="{{ item.name }}" class="form--select form--elem {% if item.required %}required {% endif %}" id="{{ item.mce-id }}" {{ item.autofocus }}>
43
- {% for option in item.opts %}
44
- <option
45
- type="{{ item.type }}"
46
- value="{{ option.value }}"
47
- name="{{ item.name }}"
48
- id="{{ item.mce-id }}-{{ option.mce-id }}">
49
- {{ option.name }}
50
- </option>
51
- {% endfor %}
52
- </select>
35
+ <select name="{{ item.name }}" class="form--select form--elem {% if item.required %}required {% endif %}" id="{{ item.id }}" {{ item.autofocus }}>
36
+ {% for option in item.opts %}
37
+ <option type="{{ item.type }}" value="{{ option.value }}" name="{{ item.name }}">
38
+ {{ option.name }}
39
+ </option>
40
+ {% endfor %}
41
+ </select>
53
42
  {% endif %}
54
43
 
55
44
  {% if item.type == 'textarea' %}
56
- <textarea
57
- rows="4"
58
- name="{{ item.name }}"
59
- id="item.mce-id"
60
- class="form--textarea form--elem" {{ item.autofocus }}></textarea>
45
+ <textarea rows="4" name="{{ item.name }}" id="{{ item.id }}"
46
+ class="form--textarea form--elem" {{ item.autofocus }}></textarea>
61
47
  {% endif %}
62
48
 
63
49
  {% if item.type == 'checkbox' %}
64
- <label class="form--label {{ item.type }}-label--mod" for="{{ item.mce-id }}">
65
- <p>{{ item.label }}</p>
66
- <span class="styled-checkbox__block">
67
- <input type="checkbox" class="styled-checkbox switch" id="{{ item.mce-id }}" {{ item.autofocus }}>
68
- <span class="icon"><span class="icon--elem"></span></span>
69
- <span class="no">NO</span>
70
- <span class="yes">YES</span>
71
- </span>
72
- </label>
50
+ <label class="form--label {{ item.type }}-label--mod" for="{{ item.id }}">
51
+ <p>{{ item.label }}</p>
52
+ <span class="styled-checkbox__block">
53
+
54
+ <input type="checkbox" class="styled-checkbox switch" id="{{ item.id }}" name="{{ item.name }}" {{ item.autofocus }} value="{{ item.value }}">
55
+
56
+ <span class="icon"><span class="icon--elem"></span></span>
57
+ <span class="no">NO</span>
58
+ <span class="yes">YES</span>
59
+ </span>
60
+ </label>
73
61
  {% endif %}
74
62
 
75
63
  {% if item.type != 'select' and item.type != 'radio' and item.type != 'textarea' and item.type != 'checkbox' %}
76
- <input
77
- type="{{ item.type }}"
78
- value=""
79
- {% if item.type == 'tel' %}
80
- placeholder="Landline or mobile"
81
- pattern="[0-9]{3}-[0-9]{3}-[0-9]{3}"
82
- {% endif %}
83
- name="{{ item.name }}"
84
- class="{% if item.required %}required {% endif %} form--input form--elem"
85
- id="{{ item.mce-id }}"
86
- {{ item.autofocus }}>
64
+ <input type="{{ item.type }}" value=""
65
+ {% if item.type == 'tel' %}
66
+ placeholder="Landline or mobile"
67
+ pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
68
+ {% endif %}
69
+ name="{{ item.name }}"
70
+ class="{% if item.required %}required{% endif %} form--input form--elem"
71
+ id="{{ item.id }}"
72
+ {{ item.autofocus }}>
87
73
  {% endif %}
74
+
88
75
  </div>
89
76
 
90
- {% endfor %}
77
+ {% endfor %}
91
78
 
92
- <div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
93
- <div class="content__gdpr">
94
- <label for="interestgroup_field" class="form--label gdpr--title">What is your prefered method of communication?</label>
95
- <fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
79
+ <div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
96
80
 
97
- {% for item in site.data.forms[page.env].gdpr %}
81
+ <div class="content__gdpr">
82
+ <label for="interestgroup_field" class="form--label gdpr--title">What is your prefered method of communication?</label>
98
83
 
99
- <label class="mc--{{ item.width }} form--label {{ item.type }}-label--mod checkbox subfield" for="gdpr_{{ item.mce-id }}">
100
- <p>{{ item.label }}</p>
101
- <span class="styled-checkbox__block">
102
- <input type="checkbox" class="styled-checkbox switch av-checkbox gdpr" id="gdpr_{{ item.mce-id }}" value="Y" name="{{ item.name }}">
103
- <span class="icon"><span class="icon--elem"></span></span>
104
- <span class="no">NO</span>
105
- <span class="yes">YES</span>
106
- </span>
107
- </label>
108
- {% endfor %}
109
- </fieldset>
84
+ <fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
85
+ {% for item in site.data.forms[page.env].gdpr %}
86
+ <label class="mc--{{ item.width }} form--label {{ item.type }}-label--mod checkbox subfield" for="{{ item.id }}">
87
+ <p>{{ item.label }}</p>
88
+ <span class="styled-checkbox__block">
89
+ <input type="checkbox" class="styled-checkbox switch av-checkbox gdpr" id="{{ item.id }}" value="Y" name="{{ item.name }}">
90
+ <span class="icon"><span class="icon--elem"></span></span>
91
+ <span class="no">NO</span>
92
+ <span class="yes">YES</span>
93
+ </span>
94
+ </label>
95
+ {% endfor %}
96
+ </fieldset>
110
97
 
111
- <p class="content__gdprLegal">You can unsubscribe at any time by clicking the link at the bottom of our emails. For information about our privacy practices, click <a href="/privacy-policy/">here</a>.</p>
98
+ <p class="content__gdprLegal">
99
+ You can unsubscribe at any time by clicking the link at the bottom of our emails. For information about our privacy practices, click <a href="/privacy-policy/">here</a>.
100
+ </p>
112
101
 
102
+ <p class="content__gdprLegal">
103
+ We use Mailchimp as our marketing platform. By clicking below, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices <a href="https://mailchimp.com/legal/" target="_blank">here.</a>
104
+ </p>
105
+ </div>
113
106
  </div>
114
- <div class="content__gdprLegal">
115
- <p>We use Mailchimp as our marketing platform. By clicking below, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about
116
- Mailchimp's privacy practices <a href="https://mailchimp.com/legal/" target="_blank">here.</a></p>
117
- </div>
118
- </div>
119
107
 
108
+ <div class="clear">
109
+ <input type="submit" value="Submit" name="subscribe" id="mc-embedded-subscribe" class="button">
110
+ </div>
120
111
 
121
- <div class="clear">
122
- <input type="submit" value="Submit" name="subscribe" id="mc-embedded-subscribe" class="button">
123
- </div>
124
112
 
113
+ <div id="mce-responses" class="clear">
114
+ <div class="response" id="mce-error-response" style="display:none"></div>
115
+ <div class="response" id="mce-success-response" style="display:none"></div>
116
+ </div>
125
117
 
126
- <div id="mce-responses" class="clear">
127
- <div class="response" id="mce-error-response" style="display:none">
118
+ <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
119
+ <div style="position: absolute; left: -5000px;" aria-hidden="true">
120
+ <input type="text" name="{{ site.data.forms.pwp.botspot-name }}" tabindex="-1" value="">
128
121
  </div>
129
- <div class="response" id="mce-success-response" style="display:none">
122
+
123
+ <div class="mc-field-group input-group" style="position: absolute; left: -5000px;" aria-hidden="true">
124
+ <select name="USERTYPE" class="required" id="mce-USERTYPE" >
125
+ {% if page.env == 'pwp' %}
126
+ <option value="PWP" selected></option>
127
+ {% else %}
128
+ <option value="CLINICIAN" selected></option>
129
+ {% endif %}
130
+ </select>
130
131
  </div>
131
- </div>
132
132
 
133
- <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
134
- <div style="position: absolute; left: -5000px;" aria-hidden="true">
135
- <input type="text" name="{{ site.data.forms.pwp.botspot-name }}" tabindex="-1" value="">
136
133
  </div>
137
134
 
135
+ </form>
136
+
137
+
138
+ <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
139
+
140
+ <script type='text/javascript'>
141
+ (function($) {
142
+ window.fnames = new Array();
143
+ window.ftypes = new Array();
144
+ /*
145
+ fnames[0] = 'EMAIL';
146
+ ftypes[0] = 'email';
147
+ fnames[2] = 'FNAME';
148
+ ftypes[2] = 'text';
149
+ fnames[4] = 'LNAME';
150
+ ftypes[4] = 'text';
151
+ fnames[6] = 'TEL';
152
+ ftypes[6] = 'number';
153
+ fnames[3] = 'USERDES';
154
+ ftypes[3] = 'dropdown';
155
+ fnames[1] = 'USERTYPE';
156
+ ftypes[1] = 'dropdown';
157
+ fnames[5] = 'MESSAGE';
158
+ ftypes[5] = 'text';
159
+ */
160
+ {% for item in site.data.forms[page.env].inputs %}
161
+ fnames[{{ forloop.index0 }}] = '{{ item.name }}';
162
+ ftypes[{{ forloop.index0 }}] = '{{ item.type }}';
163
+ {% if forloop.last == true %}
164
+ fnames[{{ forloop.index }}] = 'USERTYPE';
165
+ ftypes[{{ forloop.index }}] = 'dropdown';
166
+ {% endif %}
167
+ {% endfor %}
138
168
 
139
-
140
- </div>
141
-
142
- </form>
143
-
144
-
145
- <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
146
-
147
- <script type='text/javascript'>
148
- (function($) {
149
- window.fnames = new Array();
150
- window.ftypes = new Array();
151
- {% for item in site.data.forms[page.env].inputs %}
152
- fnames[{{ forloop.index0 }}] = '{{ item.name }}';
153
- ftypes[{{ forloop.index0 }}] = '{{ item.type }}';
154
- {% endfor %}
155
- }(jQuery));
156
- var $mcj = jQuery.noConflict(true);
157
- </script>
169
+ }(jQuery));
170
+ var $mcj = jQuery.noConflict(true);
171
+ </script>