Force user to fill out their user profile
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
{% block content %}
|
||||
<div class='col'>
|
||||
|
||||
{% if next is not none %}
|
||||
{{ Alert('You must complete your profile',
|
||||
message='<p>Before continuing, you must complete your profile</p>',
|
||||
level='info'
|
||||
) }}
|
||||
{% endif %}
|
||||
|
||||
{% if form.errors %}
|
||||
{{ Alert('There were some errors',
|
||||
message="<p>Please see below.</p>",
|
||||
@@ -25,7 +32,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% set form_action = url_for('users.update_user') %}
|
||||
{% set form_action = url_for('users.update_user', next=next) %}
|
||||
{% include "fragments/edit_user_form.html" %}
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user