mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-25177 Choice - fix typo for form creation causing pop-up window - thanks to Jason Hardin for fix
This commit is contained in:
parent
d04f7fb4a8
commit
6fa51b70a5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class mod_choice_renderer extends plugin_renderer_base {
|
|||
$layoutclass = 'vertical';
|
||||
}
|
||||
$target = new moodle_url('/mod/choice/view.php');
|
||||
$attributes = array('method'=>'POST', 'target'=>$target, 'class'=> $layoutclass);
|
||||
$attributes = array('method'=>'POST', 'action'=>$target, 'class'=> $layoutclass);
|
||||
|
||||
$html = html_writer::start_tag('form', $attributes);
|
||||
$html .= html_writer::start_tag('ul', array('class'=>'choices' ));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue