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