1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

add a profile_update view

This commit is contained in:
Pierre-antoine Comby
2020-02-03 19:25:05 +01:00
parent e80163ce4d
commit b9c3ab5ea8
4 changed files with 54 additions and 7 deletions

View File

@ -0,0 +1,17 @@
<!doctype html>
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n static pretty_money django_tables2 %}
{% block content %}
<form method="post">
{% csrf_token %}
{{ form|crispy }}
{{ profile_form|crispy }}
<button class="btn btn-link" type="submit">
{% trans "Save Changes" %}
</button>
</form>
{% endblock %}