diff --git a/RoutesApp/funcs.py b/RoutesApp/funcs.py index 195bdd7..7aadbd9 100644 --- a/RoutesApp/funcs.py +++ b/RoutesApp/funcs.py @@ -82,8 +82,10 @@ def get_profile_new_route_page_html(request, data): if data['owner_type'] == 'mover': tpl = 'v2/blocks/b_make_mover_order.html' + form.fields['type_transport'].choices = type_transport_choices[1:] else: tpl = 'v2/blocks/b_make_poster_order.html' + form.fields['type_transport'].choices = type_transport_choices Dict.update({'owner_type': data['owner_type']})