Remove id column from lists

This commit is contained in:
Chris Jean-Marie 2024-10-29 18:04:24 +00:00
parent bdbac460f0
commit 98da880f0b
3 changed files with 5 additions and 12 deletions

View File

@ -13,23 +13,20 @@ Your email address: {{ user.email }}<br/>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col"></th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody>
{% for user_role in user_roles %}
<tr>
<td><a href="/roles/{{ user_role.role_id }}">{{ user_role.id }}</a></td>
<td>{{ user_role.role_name }}</td>
<td><a href="/roles/{{ user_role.role_id }}">{{ user_role.role_name }}</a></td>
<td><a href="/roles/{{ user_role.id }}/delete">Delete</a></td>
</tr>
{% endfor %}
{% for non_user_role in non_user_roles %}
<tr>
<td>New</td>
<td>{{ non_user_role.role_name }}</td>
<td><a href="/roles/{{ non_user_role.role_id }}">{{ non_user_role.role_name }}</a></td>
<td><a href="/roles/{{ non_user_role.user_id }}/{{ non_user_role.role_id }}/add">Add</a></td>
</tr>
{% endfor %}

View File

@ -5,7 +5,6 @@
<table class="table table-striped table-bordered">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">email</th>
</tr>
@ -13,8 +12,7 @@
<tbody>
{% for user in users %}
<tr>
<td><a href="/users/{{ user.id }}">{{ user.id }}</a></td>
<td>{{ user.name }}</td>
<td><a href="/users/{{ user.id }}">{{ user.name }}</a></td>
<td>{{ user.email }}</td>
</tr>
{% endfor %}

View File

@ -5,7 +5,6 @@
<table class="table table-striped table-bordered">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">email</th>
</tr>
@ -13,8 +12,7 @@
<tbody>
{% for user in users %}
<tr>
<td><a href="/userwishlist/{{ user.id }}">{{ user.id }}</a></td>
<td>{{ user.name }}</td>
<td><a href="/userwishlist/{{ user.id }}">{{ user.name }}</a></td>
<td>{{ user.email }}</td>
</tr>
{% endfor %}