<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Agenda</title>
<link rel="stylesheet"
	href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
	integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
	crossorigin="anonymous">
</head>
<body class="container">
<br>


<nav class="navbar navbar-expand-lg navbar-light bg-light">
  <a class="navbar-brand" href="#">Menu</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item active">
        <a class="nav-link" href="/jweb-e002/index.html">Inicio <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item active">
        <a class="nav-link" href="/jweb-e002/conversor.html">Conversor <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item active">
        <a class="nav-link" href="/jweb-e002/agenda.html">Agenda<span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item active">
        <a class="nav-link" href="/jweb-e002/cartas.html">Cartas de Poker<span class="sr-only">(current)</span></a>
      </li>
  </div>
</nav>
<div >
    <form action="guardar" method="POST">
      <br>
      <div class="form-group">
        <label for="nombre">Nombre</label>
        <input type="text" class="form-control" id="nombre" name="nombre" placeholder="Ej. Cristian" required>
      </div>
      <div class="form-group">
        <label for="correo">Correo Electronico</label>
        <input type="email" class="form-control" id="corro" name="correo_electronico" placeholder="Ej. snape727@gmail.com" required>
      </div>
      <div class="form-group">
        <label for="telefono">Telefono</label>
        <input type="text" class="form-control" id="telefono" name="telefono" placeholder="Ej. 0982160609" required>
      </div>

      <div class="form-group">
        <label for="direccion">Dirección</label>
        <input type="text" class="form-control" id="direccion" name="direccion" placeholder="Ejemplo Avda Mariscal Lopez" required>
      </div>

      <div class="d-flex">
        <button type="submit" class="btn btn-dark btn-sm ml-auto ">Guardar</button>
      </div>


    </form>
  </div>
  
</body>
<% if(request.getAttribute("resultado")!=null) {%>
<script>
alert("se creo correctamente")
</script>
<%};%>
</html>