|
|
|
@ -52,26 +52,13 @@ window.email = "{{user.email}}"; |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-8 col-md-offset-2"> |
|
|
|
|
<div class="btn-group btn-group-justified amounts" role="group" aria-label="..."> |
|
|
|
|
{% for amt in _cfg("default-amounts").split(" ") %} |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-amount="5" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfgi("default-amount") == 5 else ""}}"> |
|
|
|
|
$5</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-amount="10" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfgi("default-amount") == 10 else ""}}"> |
|
|
|
|
$10</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-amount="20" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfgi("default-amount") == 20 else ""}}"> |
|
|
|
|
$20</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-amount="50" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfgi("default-amount") == 50 else ""}}"> |
|
|
|
|
$50</button> |
|
|
|
|
<button data-amount="{{ amt }}" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfg("default-amount") == amt else ""}}" |
|
|
|
|
>${{ amt }}</button> |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-amount="custom" type="button" class="btn btn-default">Custom</button> |
|
|
|
|
</div> |
|
|
|
@ -99,13 +86,13 @@ window.email = "{{user.email}}"; |
|
|
|
|
<div class="btn-group btn-group-justified frequencies" role="group" aria-label="..."> |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-frequency="once" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfg("default-type")=="once" else ""}}"> |
|
|
|
|
Once</button> |
|
|
|
|
class="btn btn-default {{"active" if _cfg("default-type")=="once" else ""}}" |
|
|
|
|
>Once</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
<button data-frequency="monthly" type="button" |
|
|
|
|
class="btn btn-default {{"active" if _cfg("default-type")=="monthly" else ""}}"> |
|
|
|
|
Monthly</button> |
|
|
|
|
class="btn btn-default {{"active" if _cfg("default-type")=="monthly" else ""}}" |
|
|
|
|
>Monthly</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|