Skip to content
Snippets Groups Projects
Commit a805253a authored by Tim Steiner's avatar Tim Steiner
Browse files

Added DF Removal to Advanced edit page

parent a53340ed
No related branches found
No related tags found
No related merge requests found
......@@ -449,7 +449,7 @@
</td>
<th> Hours per week </th>
<td> <input disabled="disabled" type="text" name="activities[__key__][hours]" /> </td>
<td> <a href="#" class="remove_record_button">-</a> </td>
<td> <a href="#" class="remove_record_button">Remove</a> </td>
</tr>
<tr>
<td colspan="3">
......@@ -459,6 +459,35 @@
</table>
</fieldset>
<fieldset class="three_column">
<h3>DF Removal</h3>
<label class="field">
<input type="radio"
class="radio"
name="dfRemoval"
value="no"
<?php if($this->course->dfRemoval == 'no') { ?>
checked="checked"
<?php } ?>
/>
No
</label>
<label class="field">
<input type="radio"
class="radio"
name="dfRemoval"
value="yes"
<?php if($this->course->dfRemoval == 'yes') { ?>
checked="checked"
<?php } ?>
/>
Yes
</label>
</fieldset>
<h3>Prerequisite</h3>
<fieldset>
<textarea id="prerequisite" name="prerequisite"><?php echo htmlentities($this->course->prerequisite, ENT_COMPAT, 'UTF-8'); ?></textarea>
......
......@@ -131,7 +131,7 @@ div.main_section tr th {
text-indent: -1000px;
}
div.main_section td {
padding-right: 20px;
padding-right: 15px;
}
div.main_section td input[type=text] {
width: 75px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment