Files
website-v2/templates/users/profile_preferences.html
Natalia 06cd04f263 Expose view for user preferences (email notifications so far).
Added tests for the new form and view for updating user preferences.
2023-06-20 12:24:40 -03:00

25 lines
559 B
HTML

{% extends "users/profile_base.html" %}
{% load static %}
{% block content %}
<div class="container">
<div class="content-section">
<h3>Update Preferences</h3>
<form method="POST" action=".">
{% csrf_token %}
<p>Notify me via email when:</p>
{{ form.errors }}
<fieldset>
{{ form.as_div }}
</fieldset>
<div class="mb-4">
<button class="py-2 px-3 text-sm uppercase rounded border border-orange text-orange" type="submit">Update</button>
</div>
</form>
</div>
</div>
{% endblock %}