--- loncom/homework/essayresponse.pm 2009/01/21 16:43:30 1.100 +++ loncom/homework/essayresponse.pm 2009/09/23 02:58:00 1.101.8.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # essay (ungraded) style responses # -# $Id: essayresponse.pm,v 1.100 2009/01/21 16:43:30 raeburn Exp $ +# $Id: essayresponse.pm,v 1.101.8.1 2009/09/23 02:58:00 gci Exp $ # # Copyright Michigan State University Board of Trustees # @@ -60,16 +60,20 @@ sub start_essayresponse { } $result.='<br /><table border="1">'; if ( $Apache::lonhomework::type ne 'survey' ) { - $result.= '<tr><td>'. + if ($env{'request.uri'} eq '/res/gci/gci/internal/submission.problem') { + $result .= '<input type="hidden" name="HWDRAFT'.$part.'_'.$id.'" value="yes" />'; + } else { + $result.= '<tr><td>'. '<label>'. '<input type="radio" name="HWDRAFT'.$part.'_'.$id.'" value="yes" checked="checked" /> '. &mt('Submit entries below as answer to receive credit'). '</label> <br />'. '<label>'. '<input type="radio" name="HWDRAFT'.$part.'_'.$id.'" value="no" /> '. - &mt('Save entries below as a draft answer (not submitting them for credit yet)'). + &mt('Save entries below (not submitted for credit yet)'). '</label>'. '</td></tr>'; + } } if ($ncol > 0) {