Modified register page to interact with the backend

This commit is contained in:
Matthew Patrick 2021-11-15 15:05:31 +07:00
parent d3f9240ba4
commit 9a10708307

View file

@ -16,7 +16,7 @@
<lottie-player style="display: -webkit-box;-webkit-box-pack: center;" autoplay background="transparent" class="icon" loop speed="1" <lottie-player style="display: -webkit-box;-webkit-box-pack: center;" autoplay background="transparent" class="icon" loop speed="1"
src="https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json"></lottie-player> src="https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json"></lottie-player>
<div class="card-body"> <div class="card-body">
<form class="px-4 py-3" action="api/register" method="POST"> <form class="px-4 py-3" action="register" method="POST">
<div class="form-group"> <div class="form-group">
<input class="form-control input-sm text-center" id="first_name" name="first_name" <input class="form-control input-sm text-center" id="first_name" name="first_name"
placeholder="First Name" type="text"> placeholder="First Name" type="text">
@ -43,7 +43,7 @@
<button class="btn btn-register btn-primary" type="submit" >Register</button> <button class="btn btn-register btn-primary" type="submit" >Register</button>
<br style="display: block;content: ' '; margin: 1vw 0; line-height: 1vw;"> <br style="display: block;content: ' '; margin: 1vw 0; line-height: 1vw;">
<div class="hoversignin-1 text-center"> <div class="hoversignin-1 text-center">
<a href="login.html">Already have an account ?? Click here to Sign In !!</a> <a href="login">Already have an account ?? Click here to Sign In !!</a>
</div> </div>
</form> </form>
</div> </div>