newUser as first row in table
This commit is contained in:
parent
f1511518bf
commit
cb0fa71a9f
1 changed files with 16 additions and 16 deletions
32
index.html
32
index.html
|
@ -145,22 +145,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each user in users}}
|
|
||||||
<tr>
|
|
||||||
<td>{{user.name}}</td>
|
|
||||||
{{#each selection in user.selections}}
|
|
||||||
<td>
|
|
||||||
{{#if isFreeText}}
|
|
||||||
{{selection.value}}
|
|
||||||
{{else}}
|
|
||||||
<span {{bind-attr class="selection.value"}}>{{selection.value}}</span>
|
|
||||||
{{/if}}
|
|
||||||
</td>
|
|
||||||
{{/each}}
|
|
||||||
<td> </td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
<tr class='newUser'>
|
<tr class='newUser'>
|
||||||
<td>
|
<td>
|
||||||
{{input value=view.newUserName placeholder="Enter your name..."}}
|
{{input value=view.newUserName placeholder="Enter your name..."}}
|
||||||
|
@ -184,6 +168,22 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
{{#each user in users}}
|
||||||
|
<tr>
|
||||||
|
<td>{{user.name}}</td>
|
||||||
|
{{#each selection in user.selections}}
|
||||||
|
<td>
|
||||||
|
{{#if isFreeText}}
|
||||||
|
{{selection.value}}
|
||||||
|
{{else}}
|
||||||
|
<span {{bind-attr class="selection.value"}}>{{selection.value}}</span>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
{{/each}}
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
<tr class='evaluation evaluation-header'>
|
<tr class='evaluation evaluation-header'>
|
||||||
<td {{bind-attr colspan=colspan}}>Evaluation</td>
|
<td {{bind-attr colspan=colspan}}>Evaluation</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue