fix: access request parameter directly
This commit is contained in:
parent
752f2f1805
commit
bbebceb31a
@ -15,7 +15,7 @@
|
||||
{{ chapter_button() }}
|
||||
<p><a href="">Leave Chapter</a></p>
|
||||
{% else %}
|
||||
{% if frappe.local.request.method=='POST' %}
|
||||
{% if request.method=='POST' %}
|
||||
<p>Welcome to chapter {{ chapter.name }}!</p>
|
||||
{{ chapter_button() }}
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user