{#
 Copyright (c) 2014 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% extends "layout.html" %}
{% set page_title = "Umzug" %}
{% import "macros/forms.html" as forms %}
{% import "macros/resources.html" as resources %}
{% block page_css %}{{ resources.link_css("datepicker/css/datepicker3.css") }}{% endblock %}

{% block single_row_content %}
    {{ forms.simple_form(form, '', url_for('.user_show', user_id=user.id)  ) }}
{% endblock %}

{#
 Copyright (c) 2014 The Pycroft Authors. See the AUTHORS file.
 This file is part of the Pycroft project and licensed under the terms of
 the Apache License, Version 2.0. See the LICENSE file for details.
#}
{% extends "layout.html" %}
{% set page_title = "Umzug" %}
{% import "macros/forms.html" as forms %}
{% import "macros/resources.html" as resources %}
{% block page_css %}{{ resources.link_css("datepicker/css/datepicker3.css") }}{% endblock %}

{% block single_row_content %}
    {{ forms.simple_form(form, '', url_for('.user_show', user_id=user_id)  ) }}
{% endblock %}

Fix user move template parameter
Fix user move template parameter

The template user/user_move.html tries to call an object named "user" by
"user_id=user.id", but it is called by render_template() with the
user_id, and not the user object itself as a parameter, which leads to
an error.
