-
-
Save parzibyte/5e4dc56572f0205eaff4785bb62a897c to your computer and use it in GitHub Desktop.
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
<?php include_once "encabezado.php" ?> | |
<div class="col-12"> | |
<h1>Login</h1> | |
<form action="login.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> | |
<?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