mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-79059 mod_data: Enclose preset options within a fieldset
Enclosing the radio buttons in a fieldset to provide additional context to the purpose of the fields.
This commit is contained in:
parent
bd76d860c0
commit
9db9ff3028
@ -59,8 +59,10 @@
|
||||
<input type="hidden" name="mode" value="usepreset">
|
||||
<input type="hidden" name="action" value="select">
|
||||
|
||||
<table id="presets-list" class="generaltable fullwidth">
|
||||
<thead>
|
||||
<fieldset>
|
||||
<legend class="sr-only">{{#str}}presets, mod_data{{/str}}</legend>
|
||||
<table id="presets-list" class="generaltable fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="pl-4 border-top-0" scope="col" style="width: 3%">
|
||||
<span class="sr-only">{{#str}}select{{/str}}</span>
|
||||
@ -71,8 +73,8 @@
|
||||
<span class="sr-only">{{#str}}actions{{/str}}</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#presets}}
|
||||
<tr>
|
||||
<td class="p-4 border-right">
|
||||
@ -91,8 +93,9 @@
|
||||
</td>
|
||||
</tr>
|
||||
{{/presets}}
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
{{< core/sticky_footer }}
|
||||
{{$ stickycontent }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user