0.2.2 feedback_form in js
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user