From e8947fc056b528b35addee29cfe270f1e1490115 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Mon, 23 Sep 2019 23:20:31 +0200 Subject: [PATCH] move entire form to createcourse.php --- html/Samhäll.php | 18 +----------------- html/include/createCourse.php | 11 +++++++++++ 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/html/Samhäll.php b/html/Samhäll.php index 7b78211..3351435 100644 --- a/html/Samhäll.php +++ b/html/Samhäll.php @@ -51,12 +51,6 @@ XXXXXXXXXXXXXXX - -
- - - - -
- Lägg till Kurs -
-
Meritpoäng:
- -

- - - +?> diff --git a/html/include/createCourse.php b/html/include/createCourse.php index 877bcfe..0c449d7 100644 --- a/html/include/createCourse.php +++ b/html/include/createCourse.php @@ -1,4 +1,5 @@ "; function createCourse($dname, $nameId, $points, $disabled) { $disClass = "delete_row"; if($disabled==='disabled') { @@ -25,3 +26,13 @@ function createCourse($dname, $nameId, $points, $disabled) { Ta Bort "; } + +echo " + +Lägg till Kurs +
+
Meritpoäng:
+ +

+ +";