http://localhost:8080/virtualcollege/admissions/online_registration/step_1_html
<dtml-var standard_html_header>
<h2><dtml-var title_or_id> - <dtml-var document_title></h2>
<dtml-comment>
We query our cookie to get session related information.
</dtml-comment>
<p><b>Student ID:</b> <font color="blue"><dtml-var expr="REQUEST.get('current_user',None)"></font></p>
<p>Check up to 4 different classes and then press Continue.</p>
<dtml-comment>
The get_codes() function returns the codes of all available courses from the catalog.
</dtml-comment>
<p>See <a href="catalog_html">catalog</a>.</p>
<form action="&dtml-home;db_connections/confirm_registration">
<table>
<tr>
<th>Course Code:
</th>
<td align="center">
<select name="code:list:text">
<option>-- NO SELECTION --</option>
<dtml-in "db_connections.get_class_codes()">
<option><dtml-var course_code></option>
</dtml-in>
</select>
</td>
</tr>
<tr>
<th>Course Code:
</th>
<td align="center">
<select name="code:list:text">
<option>-- NO SELECTION --</option>
<dtml-in "db_connections.get_class_codes()">
<option><dtml-var course_code></option>
</dtml-in>
</select>
</td>
</tr>
<tr>
<th>Course Code:
</th>
<td align="center">
<select name="code:list:text">
<option>-- NO SELECTION --</option>
<dtml-in "db_connections.get_class_codes()">
<option><dtml-var course_code></option>
</dtml-in>
</select>
</td>
</tr>
<tr>
<th>Course Code:
</th>
<td align="center">
<select name="code:list:text">
<option>-- NO SELECTION --</option>
<dtml-in "db_connections.get_class_codes()">
<option><dtml-var course_code></option>
</dtml-in>
</select>
</td>
</tr>
<tr>
<td align="center"><input type="submit" value="Continue"></td>
<td align="center"><input type="reset" value="Reset All"></td>
</tr>
</table>
</form>
<dtml-var standard_html_footer>
|