59 lines
908 B
PHP
59 lines
908 B
PHP
<!doctype html>
|
|
<html lang="es">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Nueva Persona</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Nueva Persona</h1>
|
|
|
|
<form method="POST"
|
|
action="{{ route('personas.store') }}">
|
|
|
|
@csrf
|
|
|
|
<div>
|
|
<label>Nombre</label><br>
|
|
|
|
<input type="text"
|
|
name="nombre"
|
|
required>
|
|
</div>
|
|
|
|
<div style="margin-top:10px;">
|
|
<label>Apellido</label><br>
|
|
|
|
<input type="text"
|
|
name="apellido"
|
|
required>
|
|
</div>
|
|
|
|
<div style="margin-top:10px;">
|
|
<label>DNI</label><br>
|
|
|
|
<input type="text"
|
|
name="dni"
|
|
required>
|
|
</div>
|
|
|
|
<div style="margin-top:15px;">
|
|
|
|
<button type="submit">
|
|
Guardar
|
|
</button>
|
|
|
|
<a href="{{ route('personas.index') }}">
|
|
Volver
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|
|
|