0.12.29 fix trans
This commit is contained in:
@@ -94,7 +94,11 @@ def edit_route_ajax(request):
|
||||
return JsonResponse({'errors': msg})
|
||||
|
||||
html = render_to_string('blocks/profile/b_new_route.html', Dict, request=request)
|
||||
return JsonResponse({'html': html}, status=200)
|
||||
resDict = {
|
||||
'html': html,
|
||||
'btn_title': _('Сохранить изменения')
|
||||
}
|
||||
return JsonResponse(resDict, status=200)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user