Remove id column from lists
This commit is contained in:
parent
bdbac460f0
commit
98da880f0b
|
|
@ -13,23 +13,20 @@ Your email address: {{ user.email }}<br/>
|
||||||
<table class="table table-striped table-bordered">
|
<table class="table table-striped table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">ID</th>
|
|
||||||
<th scope="col">Name</th>
|
<th scope="col">Name</th>
|
||||||
<th scope="col"></th>
|
<th scope="col">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for user_role in user_roles %}
|
{% for user_role in user_roles %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/roles/{{ user_role.role_id }}">{{ user_role.id }}</a></td>
|
<td><a href="/roles/{{ user_role.role_id }}">{{ user_role.role_name }}</a></td>
|
||||||
<td>{{ user_role.role_name }}</td>
|
|
||||||
<td><a href="/roles/{{ user_role.id }}/delete">Delete</a></td>
|
<td><a href="/roles/{{ user_role.id }}/delete">Delete</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for non_user_role in non_user_roles %}
|
{% for non_user_role in non_user_roles %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>New</td>
|
<td><a href="/roles/{{ non_user_role.role_id }}">{{ non_user_role.role_name }}</a></td>
|
||||||
<td>{{ non_user_role.role_name }}</td>
|
|
||||||
<td><a href="/roles/{{ non_user_role.user_id }}/{{ non_user_role.role_id }}/add">Add</a></td>
|
<td><a href="/roles/{{ non_user_role.user_id }}/{{ non_user_role.role_id }}/add">Add</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
<table class="table table-striped table-bordered">
|
<table class="table table-striped table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">ID</th>
|
|
||||||
<th scope="col">Name</th>
|
<th scope="col">Name</th>
|
||||||
<th scope="col">email</th>
|
<th scope="col">email</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -13,8 +12,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/users/{{ user.id }}">{{ user.id }}</a></td>
|
<td><a href="/users/{{ user.id }}">{{ user.name }}</a></td>
|
||||||
<td>{{ user.name }}</td>
|
|
||||||
<td>{{ user.email }}</td>
|
<td>{{ user.email }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
<table class="table table-striped table-bordered">
|
<table class="table table-striped table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">ID</th>
|
|
||||||
<th scope="col">Name</th>
|
<th scope="col">Name</th>
|
||||||
<th scope="col">email</th>
|
<th scope="col">email</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -13,8 +12,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/userwishlist/{{ user.id }}">{{ user.id }}</a></td>
|
<td><a href="/userwishlist/{{ user.id }}">{{ user.name }}</a></td>
|
||||||
<td>{{ user.name }}</td>
|
|
||||||
<td>{{ user.email }}</td>
|
<td>{{ user.email }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue