Template:Optin/Default: Difference between revisions

Content deleted Content added
No edit summary
trying focus method instead
 
(40 intermediate revisions by 2 users not shown)
Line 1:
<html>
<fieldset class="optin-options" style="display: none;">
<legend></html>{{Translated|Template:OptinText/Question}}<html></legend>
<divul>
<input class="lp-radio" type="radio" name="opt_in" id="optin-yes" value="1">
<divli>
<label class="lp-radio-label" for="optin-yes">Yes! Please send me infrequent email updates and information on how I can support Wikipedia in the future.*</label>
<input class="lp-radio" type="radio" name="opt_in" id="optin-yes" value="1">
<label class="lp-radio-label" for="optin-noyes">No, I don’t want updates, even if it’s only a few emails a year.</html>{{Translated|Template:OptinText/Yes}}<html></label>
</li>
<li>
<input class="lp-radio" type="radio" name="opt_in" id="optin-no" value="0">
<label class="lp-radio-label" for="optin-no"></html>{{Translated|Template:OptinText/No}}<html></label>
</li>
</ul>
<div class="optin-no-prompt" data-is-translated="</html>{{IsTranslated|Template:OptinText/PromptNo|{{int:lang}}}}<html>">
<div class="optin-no-prompt__no"></html>{{Translated|Template:OptinText/PromptNo}}<html></div>
<div class="optin-no-prompt__yes"></html>{{Translated|Template:OptinText/PromptYes}}<html></div>
</div>
<div id="error-optin" class="lp-error" style="display: none;" tabindex="-1"><!-- tabindex="-1" allows focus with js so it can be announced -->
<div>
</html>{{Translated|Template:OptinText/PleaseSelect}}<html>
<input class="lp-radio" type="radio" name="opt_in" id="optin-no" value="0">
<label class="lp-radio-label" for="optin-no">No, I don’t want updates, even if it’s only a few emails a year.</label>
</div>
<div class="optin-smallprint links-in-new-tab">
</html>{{Translated|Template:OptinText/Smallprint}}<html>
* Your information is handled in accordance with our <a href="https://foundation.wikimedia.org/wiki/Donor_privacy_policy" target="_blank">donor privacy policy</a>. Each email you receive will include easy unsubscribe options.
</div>
</fieldset>