]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/action_login_money_refill.ctp
Amount added to refill form
[shipsimu.git] / application / ship-simu / templates / de / code / action_login_money_refill.ctp
index f170fbd4ed1fa74b3159bc28308a44498c4008c8..d92241848c00d37555e297cfc98e258df05fd9fd 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Neue Helper-Instanz holen
-$helper = WebFormHelper::createWebFormHelper($this, 'refill_form');
+$helper = WebFormHelper::createWebFormHelper($this, 'money_refill_form');
 
 // Add form group
-$helper->addFormGroup('refill_form', "Bitte w&auml;hle aus, was du nachbestellen willst und gebe die Menge an.");
+$helper->addFormGroup('money_refill_form', "Bitte w&auml;hle aus, was du nachbestellen willst und gebe die Menge an.");
 
 // Add sub group
 $helper->addInputSelectField('type', "--- Bitte ausw&auml;hlen ---");
@@ -21,6 +21,10 @@ $helper->addSelectOption('raw_stones', "Steine");
 // This is needed to close the select tag
 $helper->addInputSelectField('type', "");
 
+// Field for amount
+$helper->addFormSubGroup('amount', "Gebe hier in ganzen Zahlen die Menge an, die du nachbestellen willst.");
+$helper->addInputTextField('amount', 1000);
+
 // CAPTCHA enbaled?
 if ($helper->ifFormSecuredWithCaptcha()) {
        $helper->addFormGroup('captcha_refill', "Bitte wiederhole den angezeigten Code:");
@@ -38,6 +42,6 @@ $helper->flushContent();
                Jetzt dein {?currency?}-Konto aufladen!
        </div>
        <div class="content_body">
-               {?refill_form?}
+               {?money_refill_form?}
        </div>
 </div>