diff --git a/web/blueprints/user/__init__.py b/web/blueprints/user/__init__.py index abbc1c0c2..7cbce56e7 100644 --- a/web/blueprints/user/__init__.py +++ b/web/blueprints/user/__init__.py @@ -731,7 +731,14 @@ def default_response(refill_form_data: bool = False) -> ResponseReturnValue: if not form.is_submitted() or refill_form_data: if user.room is not None: refill_room_data(form, user.room) - return render_template('user/user_move.html', user_id=user_id, form=form) + return render_template( + "user/user_move.html", + user_id=user_id, + form=form, + tenancy_table=TenancyTable( + data_url=url_for(".tenancies_json", user_id=user.id) + ), + ) if not form.validate_on_submit(): return default_response() diff --git a/web/templates/user/user_move.html b/web/templates/user/user_move.html index fccd80cd8..749d3035e 100644 --- a/web/templates/user/user_move.html +++ b/web/templates/user/user_move.html @@ -10,13 +10,21 @@ {% import "macros/forms.html" as forms %} {% import "macros/resources.html" as resources %} -{% block single_row_content %} -