|
|
@@ -95,16 +95,19 @@
|
|
|
<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="Enter postal code" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-sm offset-sm-4">
|
|
|
+ <?php
|
|
|
+ if(GOOGLE_RECAPTCHA_SITE_KEY) {
|
|
|
+ ?>
|
|
|
+ <div class="g-recaptcha mb-1" data-sitekey="<?=GOOGLE_RECAPTCHA_SITE_KEY?>"></div>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
+ ?>
|
|
|
|
|
|
- <?php
|
|
|
- if(GOOGLE_RECAPTCHA_SITE_KEY) {
|
|
|
- ?>
|
|
|
- <div class="g-recaptcha my-3" data-sitekey="<?=GOOGLE_RECAPTCHA_SITE_KEY?>"></div>
|
|
|
- <?php
|
|
|
- }
|
|
|
- ?>
|
|
|
-
|
|
|
- <button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Register</button>
|
|
|
+ <button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Register</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|