Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 20, 2021 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/c065efaaccb72edcb7258d8ab1729b99 to your computer and use it in GitHub Desktop.
Save parzibyte/c065efaaccb72edcb7258d8ab1729b99 to your computer and use it in GitHub Desktop.
<?php include_once "encabezado.php" ?>
<div class="col-12">
<h1>Registro de usuario</h1>
<form action="registrar_usuario.php" method="post">
<div class="form-group">
<label for="correo">Correo electrónico:</label>
<input class="form-control" id="correo" type="email" name="correo" placeholder="Correo electrónico" required>
</div>
<div class="form-group">
<label for="palabraSecreta">Contraseña:</label>
<input class="form-control" id="palabraSecreta" type="password" name="palabraSecreta" required placeholder="Contraseña">
</div>
<div class="form-group">
<label for="palabraSecretaConfirmar">Confirmar contraseña:</label>
<input class="form-control" id="palabraSecretaConfirmar" type="password" name="palabraSecretaConfirmar" required placeholder="Confirmar contraseña">
</div>
<?php
# si hay un mensaje, mostrarlo
if (isset($_GET["mensaje"])) { ?>
<div class="alert alert-info">
<?php echo $_GET["mensaje"] ?>
</div>
<?php } ?>
<br>
<button class="btn btn-success" type="submit">Iniciar sesión</button>
</form>
</div>
<?php include_once "encabezado.php" ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment