rollerverbrauch/app/templates/account.html

19 lines
604 B
HTML

{% extends "layout.html" %}
{% block body %}
<h1>Account management for {{current_user.email}}</h1>
<a href='{{ url_for('security.change_password') }}'>Change password</a>
<a href="{{ url_for('create_vehicle') }}">create</a>
<table>
{% for vehicle in current_user.vehicles %}
<tr>
<td>{{vehicle.name}}</td>
<td><a href="{{ url_for('edit_vehicle', vid=vehicle.id) }}">edit</a></td>
<td><a href="{{ url_for('delete_vehicle', vid=vehicle.id) }}">delete</a></td>
</tr>
{% endfor %}
</table>
{% endblock %}