zi
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php include("../includes/_config.php")?>
|
||||
|
||||
<?php
|
||||
require_once("../models/alumno.php");
|
||||
$alumno = Alumno::get($_GET["id"]);
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<?php include("../includes/_head.php") ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php include("../includes/_navbar.php") ?>
|
||||
<div class="container main">
|
||||
<p class="display-1">Modificar Alumno</p>
|
||||
<form action="modificar_post.php" method="post">
|
||||
<input type="hidden" class="form-control" id="id" name="id" value="<?php echo $alumno->get_id() ?>">
|
||||
<div class="form-group">
|
||||
<label for="rut">Rut</label>
|
||||
<input type="text" class="form-control" id="rut" name="rut" value="<?php echo $alumno->get_rut() ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="nombre">Nombre</label>
|
||||
<input type="text" class="form-control" id="nombre" name="nombre" value="<?php echo $alumno->get_nombre() ?>">
|
||||
</div>
|
||||
<input type="submit" class="btn btn-primary" value="Modificar">
|
||||
</form>
|
||||
</div>
|
||||
<?php include("../includes/_scripts.php")?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user