MAPG-180 standardize form submit with AJAX
This commit is contained in:
1 parent
e4a51c139f
commit
ec969167e4
12 files changed
+18
-148
No files matched your search
@@ -7,7 +7,7 @@ $jsFiles = [
|
||||
<?php require ROOT . '/views/templates/header.php'; ?>
|
||||
<h2>Sign up</h2>
|
||||
<div class="box">
|
||||
<form id="signupForm" action="/signup" method="post">
|
||||
<form id="signupForm" action="/signup" method="post" data-redirect-on-success="/signup/success">
|
||||
<?php if (isset($email)): ?>
|
||||
<p class="justify">No user found with the given email address. Sign up with one click!</p>
|
||||
<input class="big fullWidth marginTop" type="email" name="email" placeholder="Email address" value="<?= $email ?>" required>
|
||||
|
||||
Reference in new issue
Block a user