--- loncom/homework/optionresponse.pm 2014/11/28 18:23:04 1.195 +++ loncom/homework/optionresponse.pm 2015/04/09 09:48:02 1.197 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: optionresponse.pm,v 1.195 2014/11/28 18:23:04 raeburn Exp $ +# $Id: optionresponse.pm,v 1.197 2015/04/09 09:48:02 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -51,7 +51,8 @@ sub start_optionresponse { undef(%Apache::response::foilnames); if ($target eq 'edit') { $result.=&Apache::edit::start_table($token) - .'<tr><td><span class="LC_nobreak">'.&mt('Multiple Option Response Question').'</span> ' + .'<tr><td><span class="LC_nobreak">'.&Apache::loncommon::insert_folding_button().' ' + .&mt('Multiple Option Response Question').'</span> ' .&Apache::loncommon::help_open_topic('Option_Response_Problems')."</td>" .'<td><span class="LC_nobreak">'.&mt('Delete?').' ' .&Apache::edit::deletelist($target,$token) @@ -127,8 +128,8 @@ sub start_foilgroup { maxcheck => 'Enter maximum number students may check (e.g., 3)', mincheck => 'Enter minimum number students need to check (e.g., 1)', ); - $result.= (<<ENDTABLE); - <tr><td>$lt{'sel'}</td> + $result.= sprintf(<<ENDTABLE, &Apache::loncommon::insert_folding_button()); + <tr><td>%s $lt{'sel'}</td> <td> $lt{'add'} <input type="text" name="$Apache::lonxml::curdepth.options" /> </td>