diff --git a/views/admin/team/_form.php b/views/admin/team/_form.php new file mode 100644 index 0000000..cf641e2 --- /dev/null +++ b/views/admin/team/_form.php @@ -0,0 +1,41 @@ + of both create.php and +// edit.php. Expects: +// $data : associative array with every team column (name, birthday, at, status, +// description, title, skills, certifications) +// $item : the existing row on edit (for the current photo preview), or null +$item = $item ?? null; +?> +
+
+
+
+
+
+
+
+
+
+ + +
+ + +
+
+ +
Aparece no site por baixo do nome.
+
+
+
+
+
Aptidões e formações aparecem no cartão de detalhe do site (hover no computador, toque no telemóvel).
+
+
+
diff --git a/views/admin/team/create.php b/views/admin/team/create.php index bd78781..c54f3e1 100644 --- a/views/admin/team/create.php +++ b/views/admin/team/create.php @@ -58,34 +58,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
-
-
-
-
- -
Aparece no site por baixo do nome.
-
-
-
-
-
Aptidões e formações aparecem no cartão de detalhe do site (hover no computador, toque no telemóvel).
-
-
-
+
Cancelar diff --git a/views/admin/team/edit.php b/views/admin/team/edit.php index cde3b23..c642138 100644 --- a/views/admin/team/edit.php +++ b/views/admin/team/edit.php @@ -75,39 +75,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
-
-
- - -
- - -
-
- -
Aparece no site por baixo do nome.
-
-
-
-
-
Aptidões e formações aparecem no cartão de detalhe do site (hover no computador, toque no telemóvel).
-
-
-
+
Cancelar