Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 1, 2019 16:52
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/fafe8e6d33108488b09e2a6c955bcf76 to your computer and use it in GitHub Desktop.
Save parzibyte/fafe8e6d33108488b09e2a6c955bcf76 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Agregar canción</title>
<style>
/*
Poner bordes a las tablas. Tomado de:
https://parzibyte.me/blog/2018/10/16/tabla-html-bordes-css/
*/
table {
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid black;
}
th,
td {
padding: 5px;
}
</style>
</head>
<body>
<a href="http://localhost/crud-laravel-mysql/public">Inicio</a>
<a href="http://localhost/crud-laravel-mysql/public/agregar">Agregar</a>
<h1>Agregar canción</h1>
<form method="POST" action="http://localhost/crud-laravel-mysql/public/agregar">
<input type="hidden" name="_token" value="WZk5RjmAuNQfwQcxpgR0OGbjpe5EENlPZv9AlMY4"> <input autocomplete="off" required type="text" name="nombre" placeholder="Nombre de la canción">
<br><br>
<input autocomplete="off" required type="text" name="artista" placeholder="Artista que la canta">
<br><br>
<input autocomplete="off" required type="text" name="album" placeholder="Álbum">
<br><br>
<input autocomplete="off" required type="number" name="anio" placeholder="Año">
<br><br>
<input type="submit" value="Guardar">
</form>
<hr>
<p>
CRUD de MySQL con Laravel. Creado por <a href="//parzibyte.me">parzibyte</a>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment