59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Registro - SwimArt</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- Bootstrap CSS -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
</head>
|
|
<body class="bg-light">
|
|
|
|
<div class="container d-flex justify-content-center align-items-center" style="min-height: 100vh;">
|
|
<div class="card shadow p-4" style="width: 100%; max-width: 500px;">
|
|
<h3 class="text-center mb-4">Crear cuenta</h3>
|
|
<form action="/auth/register" method="POST">
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Nombre completo</label>
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="Ingresar nombre" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Nombre de usuario</label>
|
|
<input type="text" class="form-control" id="username" name="username" placeholder="Ingresar usuario" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Correo electrónico</label>
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="Ingresar correo" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Contraseña</label>
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="Ingresar contraseña" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="role" class="form-label">Rol</label>
|
|
<select class="form-select" id="role" name="role" required>
|
|
<option value="coach">Coach</option>
|
|
<option value="athlete">Atleta</option>
|
|
</select>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="language" class="form-label">Idioma</label>
|
|
<select class="form-select" id="language" name="language" required>
|
|
<option value="es">Español</option>
|
|
<option value="en">Inglés</option>
|
|
<option value="fr">Francés</option>
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn btn-success w-100">Registrarse</button>
|
|
</form>
|
|
<div class="text-center mt-3">
|
|
<small>¿Ya tienes cuenta? <a href="index.html">Inicia sesión</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bootstrap JS -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html>
|