Template:2012FR/Form-section/Radiobuttons/3buttons: Difference between revisions

Content deleted Content added
Creating form template with 3 amount asks.
 
rm unneeded div
 
(10 intermediate revisions by one other user not shown)
Line 1:
<html>
<input type="hidden" name="currency_code" value="</html>{{{currency|{{CurrencyCode|{{{country}}}}}}}}<html>"/>
<div id="radiobuttons-table-header">
<div>
</html>{{int:donate_interface-amount-legend}} ({{{currency|{{CurrencyCode|{{{country}}}}}}}})<html>
<div id="radiobuttons-table-header">
</html>{{int:donate_interface-amount-legend}} ({{{currency|{{CurrencyCode|{{{country}}}}}}}})<html>
</div>
</div>
<fieldset class="frequency-options">
Line 20 ⟶ 18:
<fieldset class="amount-options">
<ul>
<li class="radiobuttons-cell input_amount_0">
<input type="radio" name="amount" id="input_amount_0" onclick="selectAmount();" value="</html>{{{donate-amount-0}}}<html>" />
<label class="frb-btn" for="input_amount_0"></html>{{CurrencyFormat|{{{donate-amount-0}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
</li>
<li class="radiobuttons-cell input_amount_1">
<input type="radio" name="amount" id="input_amount_1" onclick="selectAmount();" value="</html>{{{donate-amount-1}}}<html>" />
Line 32 ⟶ 26:
<label class="frb-btn" for="input_amount_2"></html>{{CurrencyFormat|{{{donate-amount-2}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
</li>
<li class="radiobuttons-cell input_amount_3input_amount_4">
<input type="radio" name="amount" id="input_amount_3input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-34}}}<html>" />
<label class="frb-btn" for="input_amount_3input_amount_4"></html>{{CurrencyFormat|{{{donate-amount-34}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
</li>
</ul>
<li class="radiobuttons-cell input_amount_other">
<input type="radio" name="amount" id="input_amount_other" value="Other" onclick="document.getElementById('input_amount_other_box').focus();">
Line 43 ⟶ 36:
<input id="input_amount_other_box" type="text" inputmode="decimal" autocomplete="off" value="" tabindex="-1" class="noime" onfocus="selectOther();">
</label>
</li>
</ul>
<div style="display: none;" class="lp-error lp-error-smallamount"></html>{{int:Donate_interface-smallamount-error}}<html></div>