-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d0274d
commit 0844e70
Showing
4 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!-- Bindings explained: https://stackoverflow.com/questions/58221915/difference-between-bind-and-bind-value --> | ||
@page "/register" | ||
|
||
<PageTitle>Registrarse | Cirsa</PageTitle> | ||
|
||
|
||
<div class="container py-4 jumbotron-a"> | ||
|
||
|
||
<div class="container"> | ||
<div class="row"> | ||
|
||
<div class="col-12 col-md-6"> | ||
<h1 class="display-5 fw-bold">Registrarse </h1> | ||
<p> | ||
Regístrate como nuevo usuario para acceder al panel administrativo. | ||
</p> | ||
</div> | ||
|
||
<div class="col-12 col-md-6"> | ||
|
||
<form class="user-form"> | ||
|
||
<div class="mb-3"> | ||
<label for="exampleInputEmail1" class="form-label">Nombre</label> | ||
<input @bind-value="name" @bind-value:event="oninput" type="email" class="form-control" id="emailInput" required> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="exampleInputEmail1" class="form-label">Apellido/s</label> | ||
<input @bind-value="surnames" @bind-value:event="oninput" type="email" class="form-control" id="emailInput" required> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="exampleInputEmail1" class="form-label">Email</label> | ||
<input @bind-value="email" @bind-value:event="oninput" type="email" class="form-control" id="emailInput" required> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="exampleInputPassword1" class="form-label">Contraseña</label> | ||
<input @bind-value="password" @bind-value:event="oninput" type="password" class="form-control" id="passwordInput" minlength="8" required> | ||
</div> | ||
<div class="mb-3 form-check"> | ||
<input @bind="isRememberingUser" type="checkbox" class="form-check-input" id="rememberUserCheck"> | ||
<label class="form-check-label" for="exampleCheck1">Recordar usuario</label> | ||
</div> | ||
<button type="submit" class="btn button-gold-a">Continuar</button> | ||
|
||
</form> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
@code { | ||
private String name = ""; | ||
private String surnames = ""; | ||
private String email = ""; | ||
private String password = ""; | ||
private bool isRememberingUser = false; | ||
} |