_contribution.html 1.42 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<ul class="list-fields contribution-options">
  % for price in suggested_prices:
  <li class="field contribution-option">
    <input type="radio" name="contribution" value="${price|h}" ${'checked' if price == chosen_price else ''} id="contribution-${price|h}" />
    <label for="contribution-${price|h}">
      <span class="deco-denomination">$</span>
      <span class="label-value">${price}</span>
      <span class="denomination-name">${currency}</span>
    </label>
  </li>
  % endfor
12

13
  <li class="field contribution-option">
14 15 16 17 18
    <ul class="field-group field-group-other">
      <li class="contribution-option contribution-option-other1">
        <input type="radio" id="contribution-other" name="contribution" value="" ${'checked' if (chosen_price and chosen_price not in suggested_prices) else ''} />
        <label for=" contribution-other"><span class="sr">Other</span></label>
      </li>
19

20 21 22 23 24 25
      <li class="contribution-option contribution-option-other2">
        <label for="contribution-other-amt">
          <span class="sr">Other Amount</span>
        </label>
        <div class="wrapper">
          <span class="deco-denomination">$</span>
26
          <input type="text" size="9" name="contribution-other-amt" id="contribution-other-amt" value="${chosen_price if (chosen_price and chosen_price not in suggested_prices) else ''}"/>
27 28 29 30 31 32
          <span class="denomination-name">${currency}</span>
        </div>
      </li>
    </ul>
  </li>
</ul>