rollerverbrauch/app/templates/account.html

19 lines
604 B
HTML
Raw Normal View History

{% extends "layout.html" %}
{% block body %}
<h1>Account management for {{current_user.email}}</h1>
<a href='{{ url_for('security.change_password') }}'>Change password</a>
2016-04-23 11:20:39 +02:00
2016-04-23 17:11:43 +02:00
<a href="{{ url_for('create_vehicle') }}">create</a>
2016-04-23 11:20:39 +02:00
<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>
2016-04-23 17:11:43 +02:00
<td><a href="{{ url_for('delete_vehicle', vid=vehicle.id) }}">delete</a></td>
2016-04-23 11:20:39 +02:00
</tr>
{% endfor %}
</table>
{% endblock %}