REFACTOR: Changes all raw url's to url_fors
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/admin.css') }}">
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/loginform.css')}}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/loginform.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/modal.css') }}">
|
||||
|
||||
{% if users != None %}
|
||||
@ -52,19 +52,13 @@
|
||||
<label class="modal__close" for="deleteModal{{user.id}}"></label>
|
||||
<h2>Confirm Delete</h2>
|
||||
<p>Are you sure you want to <b>delete</b> {{user.role}} <b>{{user.username}}</b></p>
|
||||
<form method="POST" action="{{url_for('main.users.delete', id=user.id)}}">
|
||||
<form method="POST" action="{{ url_for('main.users.delete', id=user.id) }}">
|
||||
<div class="input-form-row">
|
||||
<input type="submit" class="modal-btn error" for="deleteModal{{user.id}}" value="Delete" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <a href="/products/{{user.id}}" class="product product-link">
|
||||
<div class="product-title">{{user.username}}</div>
|
||||
<div class="product-content-container">
|
||||
</div>
|
||||
<input type="submit" class="product-add-to-cart" value="Add to Cart" />
|
||||
</a> -->
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user