slow-steps 0.3.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) 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 +65 -44
  19. data/_includes/scripts.html +3 -1
  20. data/_layouts/about.html +1 -1
  21. data/_layouts/careers.html +1 -1
  22. data/_layouts/contact.html +1 -1
  23. data/_layouts/default.html +4 -1
  24. data/_layouts/env/clinician.html +8 -8
  25. data/_layouts/env/landing.html +6 -6
  26. data/_layouts/env/pwp.html +4 -4
  27. data/_layouts/error-page.html +1 -1
  28. data/_layouts/faq.html +4 -1
  29. data/_layouts/feed.html +2 -2
  30. data/_layouts/full-width.html +1 -1
  31. data/_layouts/post.html +2 -2
  32. data/_layouts/register.html +1 -1
  33. data/_sass/_colors/_variables.sass +2 -0
  34. data/_sass/_functions.sass +9 -0
  35. data/_sass/_mixins.sass +6 -3
  36. data/_sass/about.sass +3 -1
  37. data/_sass/breakpoints/about.sass +11 -2
  38. data/_sass/collage.sass +1 -1
  39. data/_sass/contact.sass +2 -2
  40. data/_sass/env/breakpoints/768.sass +16 -11
  41. data/_sass/env/clinician.sass +12 -7
  42. data/_sass/env/landing.sass +18 -3
  43. data/_sass/env/pwp.sass +11 -2
  44. data/_sass/faq.sass +9 -1
  45. data/_sass/feed.sass +2 -2
  46. data/_sass/footer.sass +174 -14
  47. data/_sass/footer_redesign.sass +353 -0
  48. data/_sass/forms/mc-forms.sass +9 -0
  49. data/_sass/global.sass +89 -8
  50. data/_sass/navigation/_variables.sass +3 -3
  51. data/_sass/navigation/base.sass +14 -4
  52. data/_sass/navigation/breakpoints/1024.sass +48 -9
  53. data/_sass/navigation/burger.sass +1 -1
  54. data/_sass/typography/_variables.sass +1 -1
  55. data/_sass/typography/resets.sass +2 -2
  56. data/assets/css/env/gaitq_clinician.sass +1 -1
  57. data/assets/css/env/gaitq_landing.sass +1 -1
  58. data/assets/css/env/gaitq_pwp.sass +1 -1
  59. data/assets/css/gaitq_errors.sass +13 -1
  60. data/assets/js/mobile-nav-slider.js +1 -1
  61. data/assets/js/svg_text_width.js +4 -4
  62. metadata +7 -6
  63. data/_includes/footer/footer_full.html +0 -79
  64. data/_includes/functions/pull_page_args.html +0 -31
  65. data/_sass/footer_full.sass +0 -183
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c57c7f758e1528b2e7d76d0f5df919405de77926eee111a884954209cb2d457e
4
- data.tar.gz: c20981bb357053f058125f4f2bbb7d48b84375c1e540b8e37b4e2fb0653bd27d
3
+ metadata.gz: e2193a470a747a930f7f0261a3568c062dc074d925836687e3e9a40ff022a297
4
+ data.tar.gz: b3c84e394bb0b775086b23c4f4c0f4a2aeb9d1894d2c1c2a51ebd784d805914d
5
5
  SHA512:
6
- metadata.gz: 8c20c20645f43fe7723801ae686c277450e2ba5779844ab646c2c7e69be88d4d637ab60cd7aba4d92a3b615125ff15ce5d6ad3db79072a0fd2de2d82d4c7f63d
7
- data.tar.gz: 1a5861a0fcc5e2f1b2f3f1a8acc8b710a07786cdd02cfba8bdaa4eb7d4f5dbef44ae4ace4f17a9116997c5d728a443860f148b36af725b90e2dbd423dcdd2974
6
+ metadata.gz: bd97aff330e9127a2973873c75159c43ffda5bbf7feebe4dd46cbc5083dbfa599127ccc3899c4614e71a4c36d34b797d55a10f225c560af351b616f505049262
7
+ data.tar.gz: 9f717eadb5b22282922e6de5910e994c456bbc3251657108fded5c38626dc5320618d563d9009b3218cbf70c16977db77dfa48d92119072764fdbd9e95014b09
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>