2020-12-25 01:31:01 +01:00
|
|
|
{% extends 'global.html'%}
|
|
|
|
{% load i18n %}
|
2020-12-25 14:29:38 +01:00
|
|
|
{% load thumbnail %}
|
2020-12-25 01:31:01 +01:00
|
|
|
{% load widget_tweaks %}
|
|
|
|
|
|
|
|
# {% block title %}{% trans 'Edit Explorer profile' %}{% endblock %}
|
|
|
|
|
|
|
|
{% block maincontent %}
|
|
|
|
|
2020-12-25 12:53:52 +01:00
|
|
|
<form class="LP-Form" method="POST" enctype="multipart/form-data">
|
2020-12-25 01:31:01 +01:00
|
|
|
<fieldset class="LP-Form__Fieldset">
|
|
|
|
<legend class="LP-Form__Legend">{% trans 'Edit Explorer profile' %}</legend>
|
|
|
|
{% csrf_token %}
|
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_user_change_form.username %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_user_change_form.email %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_user_change_form.first_name %}
|
|
|
|
</div>
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_user_change_form.last_name %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_change_form.bio %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="LP-Form__Composition">
|
2020-12-25 14:29:38 +01:00
|
|
|
{% if explorer_image %}
|
2020-12-25 01:31:01 +01:00
|
|
|
<div class="LP-Form__Field">
|
2020-12-25 14:29:38 +01:00
|
|
|
<img src="{% thumbnail explorer_image 200x200 %}"/>
|
2020-12-25 01:31:01 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class="LP-Form__Field">
|
|
|
|
{% include 'partials/form/inputField.html' with field=explorer_change_form.profile_image %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% trans 'Update' as action %}
|
|
|
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
|
|
|
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock maincontent %}
|