<form name="form" method="post" action="<?php echo "$CFG->wwwroot/course/mod.php" ?>">

<input type="hidden" name="type"         value="<?php p($form->type) ?>" />
<input type="hidden" name="course"       value="<?php p($form->course) ?>" />
<input type="hidden" name="sesskey"      value="<?php p($form->sesskey) ?>" />
<input type="hidden" name="coursemodule" value="<?php p($form->coursemodule) ?>" />
<input type="hidden" name="section"      value="<?php p($form->section) ?>" />
<input type="hidden" name="module"       value="<?php p($form->module) ?>" />
<input type="hidden" name="modulename"   value="<?php p($form->modulename) ?>" />
<input type="hidden" name="instance"     value="<?php p($form->instance) ?>" />
<input type="hidden" name="mode"         value="<?php p($form->mode) ?>" />

<table cellpadding="5">
<tr valign="top">
    <td align="right"><b><?php print_string("name") ?>:</b></td>
    <td>
        <input type="text" name="name" size="65" value="<?php p($form->name) ?>" alt="<?php print_string("name") ?>" />
    </td>
</tr>
<tr valign="top">
    <td align="right"><b><?php print_string("summary") ?>:</b><br />
     <?php
        helpbutton("summary", get_string("summary"), "resource", true, true);
     ?>
     <br />
    </td>
    <td>
        <?php print_textarea($usehtmleditor, 10, 65, 680, 400, "summary", $form->summary); ?>
        <br />
    </td>
</tr>

