Skip to content

Commit

Permalink
Merge pull request #13349 from carkod/e-p-partners-permission-checkbo…
Browse files Browse the repository at this point in the history
…x-wd-6440

Add partner permission checkbox to engage pages
  • Loading branch information
carkod authored Nov 17, 2023
2 parents 649565e + 161d00f commit dc78d2d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions templates/engage/shared/_en_engage_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
<span class="p-checkbox__label" id="canonicalUpdatesOptIn">I agree to receive information about Canonical's products and services.</span>
</label>
</li>
<li>
<p>In submitting this form, I confirm that I have read and agree to <a href="/legal/data-privacy/contact">Canonical's Privacy Notice</a> and <a href="/legal/data-privacy">Privacy Policy</a>.
<input name="RichText" aria-label="RichText" type="hidden">
</p>
</li>
{# These are honey pot fields to catch bots #}
<li class="u-off-screen">
<label class="website" for="website">Website:</label>
Expand All @@ -54,6 +49,19 @@
<li>
<input name="Consent_to_Processing__c" aria-label="Consent" value="Yes" type="hidden">
</li>
{% if "partner_permission" in metadata %}
<li>
<label class="p-checkbox">
<input class="p-checkbox__input" name="Partner_Marketing_Opt_in__c" aria-label="Partner Permission" value="true" type="checkbox">
<span class="p-checkbox__label" id="Partner_Marketing_Opt_in__c">From time to time, Canonical or the identified co-host(s) may wish to contact you by email to provide you with information about events and other news or product updates that may be of interest to you. If you are happy to be contacted by Canonical or the identified co-host(s) for these purposes please select the check box. Further information on Canonical's processing of your personal data can be found in <a href="/legal/data-privacy/newsletter">Canonical's privacy notice</a>. If you choose to give your consent, you may withdraw it at any time by clicking "unsubscribe" at the bottom of any Canonical email. See Canonical's <a href="/legal/data-privacy">data privacy policy</a>.</span>
</label>
</li>
{% endif %}
<li>
<p>In submitting this form, I confirm that I have read and agree to <a href="/legal/data-privacy/contact">Canonical's Privacy Notice</a> and <a href="/legal/data-privacy">Privacy Policy</a>.
<input name="RichText" aria-label="RichText" type="hidden">
</p>
</li>
<li>
<button type="submit" class="u-no-margin--bottom {% if cta_class %}{{ cta_class }}{% endif %}" >{% if cta %}{{ cta }}{% else %}Download the whitepaper{% endif %}</button>
<input name="formid" aria-label="formid" value="{{ id }}" type="hidden">
Expand Down

0 comments on commit dc78d2d

Please sign in to comment.