Template:Optin/Default: Difference between revisions
Content deleted Content added
add hidden error message (show with javascript) |
moved javascript to MediaWiki:DonationForm.js |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1:
<html>
<fieldset class="optin-options">
<legend></html>{{Translated|Template:OptinText/Question}}<html></legend>
<span id="error-optin" class="lp-error" style="display: none;">▼
</span>▼
<ul>
<li>
<input class="lp-radio" type="radio" name="opt_in" id="optin-yes" value="1">
<label class="lp-radio-label" for="optin-yes"></html>{{
</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>{{
</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>
▲ <span id="error-optin" class="lp-error" style="display: none;">
</html>{{Translated|Template:OptinText/PleaseSelect}}<html>
▲ </span>
<div class="optin-smallprint links-in-new-tab">
</html>{{Translated|Template:OptinText/Smallprint}}<html>
</div>
</fieldset>
<
|