webform for deleting
This commit is contained in:
parent
fe2b35eba3
commit
a07a515380
5 changed files with 60 additions and 0 deletions
0
frappe/website/web_form/__init__.py
Normal file
0
frappe/website/web_form/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
frappe.ready(function() {
|
||||
// bind events here
|
||||
})
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"accept_payment": 0,
|
||||
"allow_comments": 0,
|
||||
"allow_delete": 0,
|
||||
"allow_edit": 0,
|
||||
"allow_incomplete": 0,
|
||||
"allow_multiple": 0,
|
||||
"allow_print": 0,
|
||||
"amount": 0.0,
|
||||
"amount_based_on_field": 0,
|
||||
"creation": "2019-01-25 14:24:12.588810",
|
||||
"currency": "INR",
|
||||
"doc_type": "Personal Data Delete Request",
|
||||
"docstatus": 0,
|
||||
"doctype": "Web Form",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"login_required": 1,
|
||||
"max_attachment_size": 0,
|
||||
"modified": "2019-01-28 13:41:45.907437",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Website",
|
||||
"name": "request-to-delete-data",
|
||||
"owner": "Administrator",
|
||||
"payment_button_label": "Buy Now",
|
||||
"published": 1,
|
||||
"route": "request-to-delete-data",
|
||||
"route_to_success_link": 0,
|
||||
"show_attachments": 0,
|
||||
"show_in_grid": 0,
|
||||
"show_sidebar": 1,
|
||||
"sidebar_items": [],
|
||||
"success_url": "/request-to-delete-data",
|
||||
"title": "Request to Delete Data",
|
||||
"web_form_fields": [
|
||||
{
|
||||
"allow_read_on_all_link_options": 0,
|
||||
"fieldname": "user",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"label": "User",
|
||||
"max_length": 0,
|
||||
"max_value": 0,
|
||||
"options": "User",
|
||||
"read_only": 0,
|
||||
"reqd": 1,
|
||||
"show_in_filter": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
|
||||
def get_context(context):
|
||||
# do your magic here
|
||||
pass
|
||||
Loading…
Add table
Reference in a new issue