Skip to content

Commit

Permalink
Fixed and improved table format
Browse files Browse the repository at this point in the history
  • Loading branch information
gopejavi authored and sergeyklay committed Feb 8, 2018
1 parent c1011d6 commit c7c0a5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions app/views/profiles/search.volt
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
<th>Active?</th>
</tr>
</thead>
{% endif %}
<tbody>
{% endif %}
<tr>
<td>{{ profile.id }}</td>
<td>{{ profile.name }}</td>
<td>{{ profile.active == 'Y' ? 'Yes' : 'No' }}</td>
<td width="12%">{{ link_to("profiles/edit/" ~ profile.id, '<i class="icon-pencil"></i> Edit', "class": "btn") }}</td>
<td width="12%">{{ link_to("profiles/delete/" ~ profile.id, '<i class="icon-remove"></i> Delete', "class": "btn") }}</td>
</tr>
</tbody>
{% if loop.last %}
<tbody>
</tbody>
<tfoot>
<tr>
<td colspan="10" align="right">
<div class="btn-group">
Expand All @@ -42,7 +42,7 @@
</div>
</td>
</tr>
<tbody>
</tfoot>
</table>
{% endif %}
{% else %}
Expand Down
8 changes: 4 additions & 4 deletions app/views/users/search.volt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<th>Confirmed?</th>
</tr>
</thead>
{% endif %}
<tbody>
{% endif %}
<tr>
<td>{{ user.id }}</td>
<td>{{ user.name }}</td>
Expand All @@ -36,9 +36,9 @@
<td width="12%">{{ link_to("users/edit/" ~ user.id, '<i class="icon-pencil"></i> Edit', "class": "btn") }}</td>
<td width="12%">{{ link_to("users/delete/" ~ user.id, '<i class="icon-remove"></i> Delete', "class": "btn") }}</td>
</tr>
</tbody>
{% if loop.last %}
<tbody>
</tbody>
<tfoot>
<tr>
<td colspan="10" align="right">
<div class="btn-group">
Expand All @@ -50,7 +50,7 @@
</div>
</td>
</tr>
<tbody>
</tfoot>
</table>
{% endif %}
{% else %}
Expand Down

0 comments on commit c7c0a5e

Please sign in to comment.