Actually display the default currency and amount on the landing page

This commit is contained in:
Sven Slootweg 2013-06-12 22:36:52 +02:00
parent 7a36764559
commit a0d137aa54
2 changed files with 4 additions and 1 deletions

View file

@ -59,4 +59,7 @@ $sPageContents = NewTemplater::Render("landing", $locale->strings, array(
"project-name" => $sCampaign->sName,
"urlname" => $sCampaign->sUrlName,
"methods" => $sPaymentMethods
), array(
"currency" => $sCampaign->sDefaultCurrency,
"amount" => $sCampaign->sDefaultAmount
));

View file

@ -55,7 +55,7 @@
{%option value="eur" text="€"}
{%option value="btc" text="BTC"}
{%/select}
{%input type="text" name="amount" id="field_amount" value="5.00"}
{%input type="text" name="amount" id="field_amount"}
a month.
</p>
<p class="pledge-button">