Skip to content

Commit 33d636c

Browse files
committed
fix: Resolve HTML validation errors in Mustache templates by updating form attributes
1 parent c0d3ff8 commit 33d636c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: templates/report_actionbar.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"downloadtext": "http://localhost/moodle/mod/exescorm/report.php?id=143&mode=basic&attemptsmode=0&sesskey=AmfcC7riSb&download=CSV"
3939
}
4040
}}
41-
<div class="container-fluid tertiary-navigation">
41+
<form method="post" action="your-action-url" class="d-flex flex-wrap align-items-center" id="your-form-id">
4242
<div class="row">
4343
{{#exescormreports}}
4444
<div class="navitem">
@@ -60,4 +60,4 @@
6060
</div>
6161
{{/candownload}}
6262
</div>
63-
</div>
63+
</form>

Diff for: templates/user_report_actionbar.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"heading": "Sub page heading"
3434
}
3535
}}
36-
<div class="container-fluid tertiary-navigation">
36+
<form method="post" action="your-action-url" class="d-flex flex-wrap align-items-center" id="your-form-id">
3737
<div class="row">
3838
<div class="navitem">
3939
<a class="btn btn-secondary mr-2" href="{{backurl}}">{{#str}}back, core {{/str}}</a>
@@ -44,5 +44,5 @@
4444
</div>
4545
{{/userreport}}
4646
</div>
47-
</div>
47+
</form>
4848
{{#heading}}<h2>{{heading}}</h2>{{/heading}}

0 commit comments

Comments
 (0)