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