From bcd85f6214b914cf75ef8c2101c13f29bbfb1bee Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Mon, 11 Dec 2006 20:02:35 +0000
Subject: [PATCH] Allow admin to alter the proposed/official property of a
 course generation.

---
 application/views/edit_course.xhtml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/application/views/edit_course.xhtml b/application/views/edit_course.xhtml
index ff0f2bf7..28d36ee1 100644
--- a/application/views/edit_course.xhtml
+++ b/application/views/edit_course.xhtml
@@ -469,7 +469,25 @@
     <?php } ?>
 </table> */ ?>
 
-<input type="submit" />
+<fieldset>
+    <h3>Record Type</h3>
+    <label>
+        Proposed:
+        <input type="radio"
+               name="type"
+               value="proposed"
+               <?php if($this->course->type == 'proposed') { ?>checked="checked"<? } ?> />
+    </label>
+    <label>
+        Official:
+        <input type="radio"
+               name="type"
+               value="official"
+               <?php if($this->course->type == 'official') { ?>checked="checked"<? } ?> />
+    </label>
+</fieldset>
+
+<input type="submit" value="Update Course" />
 
 </form>
 
-- 
GitLab