2022-07-06 15:33:14 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
{% match account.as_ref() %}
|
|
|
|
{% when Some with (a) %}
|
|
|
|
<ow-account
|
|
|
|
mode="display"
|
|
|
|
id="{{a.id}}"
|
|
|
|
name="{{a.login}}"
|
|
|
|
email="{{a.email}}"
|
|
|
|
facebook-id="{{a.facebook_id.as_deref().unwrap_or_default()}}"
|
|
|
|
></ow-account>
|
|
|
|
{% when None %}
|
2022-07-09 21:52:48 +02:00
|
|
|
<ow-account
|
|
|
|
mode="form"
|
|
|
|
></ow-account>
|
2022-07-06 15:33:14 +02:00
|
|
|
{% endmatch %}
|
|
|
|
{% endblock %}
|