Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/question/bank/bulkmove/templates/bulk_move.mustache b/question/bank/bulkmove/templates/bulk_move.mustache
- index b6eed24c7e2..692f71eedbe 100644
- --- a/question/bank/bulkmove/templates/bulk_move.mustache
- +++ b/question/bank/bulkmove/templates/bulk_move.mustache
- @@ -18,14 +18,15 @@
- @template qbank_bulkmove/bulk_move
- The move form to move selected questions.
- +
- + Context variables required for this template:
- * categorydropdown - dropdown html from the managecategories plugin for the list of categories
- * moveurl - the url to post the selected category
- * returnurl - the base page to return to
- Example context (json):
- {
- - "categorydropdown": "<optgroup label='Category: Category 1'><option value='4,3'>Default for Category 1</option></optgroup>",
- - "moveurl": "/question/bank/bulkmove/move.php?courseid=2",
- + "categorydropdown": "<label class='accesshide' for='id_movetocategory'>Question category</label><select id='id_movetocategory' class='select custom-select custom-select' data-action='toggle' data-togglegroup='qbank' data-toggle='action' name='category'><optgroup label='Course: Course 1'><option value='69,2309'>Default for Course 1 (12)</option><optgroup label='Category: Category 1'><option value='24,3'>Default for Category 1</option></optgroup><optgroup label='System'><option value='26,1'>Default for System</option></optgroup></select>",
- "returnurl": "/question/edit.php?courseid=2"
- }
- }}
Add Comment
Please, Sign In to add comment