<dtml-var standard_html_header>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr class="location-bar">
<td align="left" valign="top">
<div class="form-title">
Add Code Recipe
</div>
</td>
</tr>
</table>
<form action="manage_addRecipe" method="post" enctype="multipart/form-data">
<input type=hidden name="redir" value="true">
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
<div class="form-optional">
<b>Title</b><br>
Give your recipe a catchy, yet descriptive title.
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<input type="text" name="title" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-optional">
<b>Category</b><br>
Select the category you would like your recipe to be displayed in.
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<select name="category">
<option value="">None</option>
<dtml-try>
<dtml-in "PARENTS[0].categories" sort>
<option value="&dtml-sequence-item;"><dtml-var sequence-item></option>
</dtml-in>
<dtml-except>
</dtml-try>
</select>
</td>
</tr>
<TR>
<td align="left" valign="top">
<div class="form-optional">
<b>Description</b><br>
Small description of the problem that this recipe tries to solve.
</div>
</td>
</tr>
<tr>
<TD ALIGN="left">
<TEXTAREA NAME="description:text" WRAP="On" COLS="70" ROWS="10"></TEXTAREA>
</TD>
</TR> <TR>
<td align="left" valign="top">
<div class="form-optional">
<b>Source</b><br>
The actual code snippet you would like included.
</div>
</td>
</tr>
<tr>
<TD ALIGN="left">
<TEXTAREA NAME="code:text" WRAP="On" COLS="70" ROWS="10"></TEXTAREA>
</TD>
</TR>
<tr>
<td align="left" valign="top">
<div class="form-optional">
<b>Upload Source</b><br>
If you have the source already written in a file, upload it instead.
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<input type="file" name="file:string" size="25" value="" />
</td>
</tr>
<TR>
<td align="left" valign="top">
<div class="form-optional">
<b>Explanation</b> (optional)<br>
Explain your code, and how it works. Include (if applicable) the target audience,
and the lesson that should be learned from reading your code.
</div>
</td>
</tr>
<tr>
<TD ALIGN="left">
<TEXTAREA NAME="explanation:text" WRAP="Off" COLS="70" ROWS="10"></TEXTAREA>
</TD>
</TR>
<tr>
<td align="left" valign="top">
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-element">
<input class="form-element" type="submit" name="submit"
value=" Add " />
<input class="form-element" type="submit" name="submit"
value=" Add and Edit " />
</div>
</td>
</tr>
</table>
</form>
<dtml-var standard_html_footer>
|