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>
|
||||
|
||||
<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'>
|
||||
<td>
|
||||
{{input value=view.newUserName placeholder="Enter your name..."}}
|
||||
|
@ -184,6 +168,22 @@
|
|||
</td>
|
||||
</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'>
|
||||
<td {{bind-attr colspan=colspan}}>Evaluation</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue