aboutsummaryrefslogtreecommitdiff
path: root/design/templates/accounts/change-settings.html
blob: e14a1e3c71ebac0b85c0d9a30bdcc21b26694ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'base.html' %}
{% block content %}
<main class="single-col">
<h1>Update Your Account Settings</h1>
<form action="" method="POST" enctype="multipart/form-data">{% csrf_token %}
    {% for field in form %}
    <fieldset {% if field.name == 'photo' %}class="file-upload-fieldset"{%endif%}>{% if field.name == 'photo' %}
        {{field.label_tag}}
        <div class="flex-wrapper">
        <div id="file-upload-wrapper" class="file-upload btn">
            <span>Upload</span>
            <input type="file" name="photo" class="upload" accept="image/*" id="id_photo">
        </div>
        <span id="filename"></span>
        </div>
        {% else %}
        {{field.label_tag}}
        {{field}}
        {%endif%}</fieldset>
    {% endfor %}
<p><input class="btn btn-inline note-save" value="Save" type="submit" /></p>
</form>
</main>
<script>
</script>
{% endblock %}