2016-04-21 08:11:57 +02:00
|
|
|
{% 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>
|
2016-04-21 08:11:57 +02:00
|
|
|
{% endblock %}
|