diff --git a/views/admin/horario/_form.php b/views/admin/horario/_form.php new file mode 100644 index 0000000..477358a --- /dev/null +++ b/views/admin/horario/_form.php @@ -0,0 +1,35 @@ + of both +// create.php and edit.php. Expects: +// $data : associative array with every horario column (id_modalidade, +// dia_semana, hora_inicio, hora_fim, local) +// $modalidades : rows from db_modalidades_options($pdo) +// $dias : dia_semana value => label map +// $salas : local value => label map +?> +
+
+
+
+
+
+
+
+
+
+
+
diff --git a/views/admin/horario/create.php b/views/admin/horario/create.php index bb4d2aa..643a90f 100644 --- a/views/admin/horario/create.php +++ b/views/admin/horario/create.php @@ -41,32 +41,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
-
-
-
-
+
Cancelar diff --git a/views/admin/horario/edit.php b/views/admin/horario/edit.php index 88185ed..ada8f7a 100644 --- a/views/admin/horario/edit.php +++ b/views/admin/horario/edit.php @@ -51,32 +51,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
-
-
-
-
+
Cancelar