mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
fix: access request parameter directly
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user