{% extends "base.html.j2" %} {% import "materialize/wtf.html.j2" as wtf %} {% block page_content %}

{{ title }}

{{ edit_profile_settings_form.hidden_tag() }} {{ wtf.render_field(edit_profile_settings_form.username, material_icon='person') }} {{ wtf.render_field(edit_profile_settings_form.email, material_icon='email') }}
{{ wtf.render_field(edit_profile_settings_form.submit, material_icon='send') }}
{{ edit_privacy_settings_form.hidden_tag() }}
Privacy settings
{{ wtf.render_field(edit_privacy_settings_form.is_public, id='public-profile') }}


{{ wtf.render_field(edit_privacy_settings_form.show_email, data_action='disable', disabled=true) }}
{{ wtf.render_field(edit_privacy_settings_form.show_last_seen, data_action='disable', disabled=true) }}
{{ wtf.render_field(edit_privacy_settings_form.show_member_since, data_action='disable', disabled=true) }}
{{ wtf.render_field(edit_privacy_settings_form.submit, material_icon='send') }}
{{ edit_public_profile_information_form.hidden_tag() }}
Public Profile
{% if user.avatar %} user-image {% else %} user-image {% endif %}
{{ wtf.render_field(edit_public_profile_information_form.avatar, accept='image/jpeg, image/png, image/gif', placeholder='Choose an image file', id='avatar-upload', data_action='disable') }}


{{ wtf.render_field(edit_public_profile_information_form.full_name, material_icon='badge') }} {{ wtf.render_field(edit_public_profile_information_form.about_me, material_icon='description') }} {{ wtf.render_field(edit_public_profile_information_form.website, material_icon='laptop') }} {{ wtf.render_field(edit_public_profile_information_form.organization, material_icon='business') }} {{ wtf.render_field(edit_public_profile_information_form.location, material_icon='location_on') }}
{{ wtf.render_field(edit_public_profile_information_form.submit, material_icon='send') }}
{% endblock page_content %} {% block scripts %} {{ super() }} {% endblock scripts %}