MDL-60493 mod_assign: Remove rogue </span>
authorLeon Stringer <leon.stringer@ntlworld.com>
Tue, 28 Jul 2020 11:03:29 +0000 (12:03 +0100)
committerLeon Stringer <leon.stringer@ntlworld.com>
Tue, 28 Jul 2020 11:03:29 +0000 (12:03 +0100)
In the grading interface (/mod/assign/view.php?id=2&action=grader)
there was a rogue </span> with no opening <span>.  Also changed
<span><form> to <div><form> in included template fixing CiBoT HTML
Validation error.

mod/assign/templates/grading_navigation.mustache
mod/assign/templates/grading_navigation_user_selector.mustache

index 30378ce..f370b3b 100644 (file)
@@ -44,7 +44,7 @@
     </small>
 </span>
 
-<span data-region="configure-filters" id="filter-configuration-{{uniqid}}" class="card card-large p-2">
+<div data-region="configure-filters" id="filter-configuration-{{uniqid}}" class="card card-large p-2">
     <form>
         <span class="row px-3 py-1">
             <label class="text-right w-25 p-2 m-0" for="filter-general-{{uniqid}}">
@@ -81,7 +81,7 @@
         </span>
         {{/hasmarkingworkflow}}
     </form>
-</span>
+</div>
 
 <a href="#" data-region="user-filters" title="{{#str}}changefilters, mod_assign{{/str}}" aria-expanded="false" aria-controls="filter-configuration-{{uniqid}}">
     <span class="accesshide">