diff --git a/RoutesApp/funcs.py b/RoutesApp/funcs.py index c0d23c3..69b79e2 100644 --- a/RoutesApp/funcs.py +++ b/RoutesApp/funcs.py @@ -135,6 +135,8 @@ def get_profile_my_routes_page_content_html(request): if user_subscribe: routes_Dict.update(user_subscribe.remains_route_adding_options()) + routes_Dict.update({'editable_routes': True}) + html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request) return html diff --git a/RoutesApp/js_views.py b/RoutesApp/js_views.py index eab5feb..a1ea0ed 100644 --- a/RoutesApp/js_views.py +++ b/RoutesApp/js_views.py @@ -334,6 +334,7 @@ def get_my_routes_ajax(request): if user_subscribe: routes_Dict.update(user_subscribe.remains_route_adding_options()) + routes_Dict.update({'editable_routes': True}) html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)