0.2.2 feedback_form in js

This commit is contained in:
SDE
2023-12-09 19:33:03 +03:00
parent 02eb295acc
commit bc69d92ef7
2 changed files with 6 additions and 4 deletions

View File

@@ -18,16 +18,15 @@ def get_inter_Dict(user, context_Dict):
if fb_block:
form_name = fb_block.name
from .forms import FeedbackForm
feedback_form = FeedbackForm()
if form_name:
from .forms import FeedbackForm
feedback_form = FeedbackForm()
feedback_form.initial = {'form_name': form_name}
Dict.update({'feedback_form': feedback_form})
Dict.update({
'sections': sections,
'logo': get_logo_url(),
'feedback_form': feedback_form,
})
# from SubscribesApp.funcs import get_cur_user_subscribe
# user_subscribe = get_cur_user_subscribe(user)