Skip to content

Commit a0ccce3

Browse files
committed
Grunt CI fixes
1 parent 7128fc2 commit a0ccce3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

templates/searchbox.mustache

+7-4
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@
2121
2222
Example context (json):
2323
{
24+
"formurl": "/",
25+
"courseid": 1,
26+
"query": "wonderful"
2427
}
2528
}}
2629

2730
<div class="searchform">
28-
<form action="{{formurl}}" method="post" style="display:inline">
31+
<form action="{{{formurl}}}" method="post" style="display:inline">
2932
<fieldset class="invisiblefieldset">
30-
<input name="courseid" type="hidden" value="{{courseid}}" />
31-
<input name="page" type="hidden" value="0" />
33+
<input name="courseid" type="hidden" value="{{courseid}}"/>
34+
<input name="page" type="hidden" value="0"/>
3235
<label class="accesshide" for="searchbooksquery">{{#str}} bookssearch, block_search_books {{/str}}</label>
3336
{{#pix}} icon, book, {{#str}} pluginname, book {{/str}} {{/pix}}
34-
<input type="text" id="searchbooksquery" name="bsquery" size="20" maxlength="255" value="{{{query}}}" />
37+
<input type="text" id="searchbooksquery" name="bsquery" size="20" maxlength="255" value="{{{query}}}"/>
3538
<input class="btn btn-primary m-1" type="submit" name="submit" value="{{#str}} bookssearch, block_search_books {{/str}}"/>
3639
</fieldset>
3740
</form>

0 commit comments

Comments
 (0)