Plume/templates/users/edit.html.tera

25 lines
714 B
Plaintext
Raw Normal View History

2018-05-12 17:30:14 +02:00
{% extends "base" %}
{% block title %}
2018-06-17 17:26:15 +02:00
{{ "Edit your account" | _ }}
2018-05-12 17:30:14 +02:00
{% endblock title %}
{% block content %}
2018-06-17 17:26:15 +02:00
<h1>{{ "Your Profile" | _ }}</h1>
2018-05-12 17:30:14 +02:00
<form method="post">
<!-- Rocket hack to use various HTTP methods -->
<input type=hidden name="_method" value="put">
2018-06-17 17:26:15 +02:00
<label for="display_name">{{ "Display Name" | _ }}</label>
2018-05-12 17:30:14 +02:00
<input name="display_name" value="{{ account.display_name }}">
2018-06-17 17:26:15 +02:00
<label for="email">{{ "Email" | _ }}</label>
2018-05-12 17:30:14 +02:00
<input name="email" value="{{ account.email }}">
2018-06-17 17:26:15 +02:00
<label for="summary">{{ "Summary" | _ }}</label>
2018-05-12 17:30:14 +02:00
<input name="summary" value="{{ account.summary }}">
<input type="submit" value="{{ "Update account" | _ }}"/>
2018-05-12 17:30:14 +02:00
</form>
{% endblock content %}