Improved layout
This commit is contained in:
parent
8f01c714e4
commit
9edb58590d
@ -11,16 +11,18 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left">Category</th>
|
||||
<th class="text-right">Rating</th>
|
||||
<th></th>
|
||||
<th>Category</th>
|
||||
<th>Rating</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="categories"></tbody>
|
||||
<script id="template" type="text/x-handlers-template">
|
||||
{{#each categories}}
|
||||
<tr class="category_{{id}}">
|
||||
<td class="text-left">{{description}}</td>
|
||||
<td class="text-right">
|
||||
<td><button type="button" data-categoryId="{{id}}" class="btn btn-xs btn-danger">×</button></td>
|
||||
<td>{{description}}</td>
|
||||
<td>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="category_{{id}}" data-categoryId="{{id}}" value="1" {{checkMatch 1}}> Agree
|
||||
</label>
|
||||
@ -30,7 +32,6 @@
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="category_{{id}}" data-categoryId="{{id}}" value="0" {{checkMatch 0}}> Neither
|
||||
</label>
|
||||
<button type="button" data-categoryId="{{id}}" class="btn btn-xs btn-danger">×</button>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
Loading…
Reference in New Issue
Block a user