Skip to content

Commit

Permalink
fixing invalid markup on filter checkboxes (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgranger authored and geek committed Sep 22, 2016
1 parent d5b75b8 commit 8d30730
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/reporters/html/partials/tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ <h1>Test Report</h1>
<div class="duration">{{duration}}</div>
</div>
<div id="filters">
<input type="checkbox" checked="" onchange="filter(this)" value="success" id="show-success"><label for="show-success">Show Success</label></input>
<input type="checkbox" checked="" onchange="filter(this)" value="failure" id="show-failure"><label for="show-failure">Show Failure</label></input>
<input type="checkbox" checked="" onchange="filter(this)" value="success" id="show-success">
<label for="show-success">Show Success</label>
<input type="checkbox" checked="" onchange="filter(this)" value="failure" id="show-failure">
<label for="show-failure">Show Failure</label>
<br>
{{#each paths}}
<input type="checkbox" checked="" onchange="filter(this)" value="{{this}}" id="show-{{this}}"><label for="show-{{this}}">{{replace this "\_" " " "gi"}}</label></input>
<input type="checkbox" checked="" onchange="filter(this)" value="{{this}}" id="show-{{this}}">
<label for="show-{{this}}">{{replace this "\_" " " "gi"}}</label>
{{/each}}
</div>
<table>
Expand Down

0 comments on commit 8d30730

Please sign in to comment.