oswilno/server/assets/templates/account.html
2022-07-29 16:08:59 +02:00

20 lines
498 B
HTML

{% extends "base.html" %}
{% block content %}
{% match account.as_ref() %}
{% when Some with (a) %}
<account-view
id="{{a.id}}"
name="{{a.login}}"
email="{{a.email}}"
facebook-id="{{a.facebook_id.as_deref().unwrap_or_default()}}"
>
{% if h.is_above_user(account) -%}
<button id="editService" slot="editService" title="Moje usługi" class="">
Edytuj usługi
</button>
{%- endif %}
</account-view>
{% when None %}
{% endmatch %}
{% endblock %}