diff --git a/frappe/website/doctype/web_form/templates/web_form.html b/frappe/website/doctype/web_form/templates/web_form.html
index cea760b260..9f9210ccaa 100644
--- a/frappe/website/doctype/web_form/templates/web_form.html
+++ b/frappe/website/doctype/web_form/templates/web_form.html
@@ -14,189 +14,11 @@
{% endblock %}
{% block header_actions %}
- {% if not read_only and has_header %}
-
- {% if login_required -%}
-
- {{ _("Cancel") }}
- {%- endif %}
- {% if not is_list %}
-
- {% endif %}
-
- {% endif %}
- {% if is_list %}
-
-
- {{ _("New") }}
-
-
-
- {% endif %}
- {%- if allow_print and not is_list and not _login_required and doc.name -%}
-
- {%- endif -%}
+
{% endblock %}
{% block page_content %}
-{% if introduction_text %}
-
-
{{ _(introduction_text) }}
-
-{% else %}
-
-{% endif %}
-
-
-{% if _login_required %}
-
-{% elif is_list %}
-
-
-
- {% if show_in_grid %}
-
- {% else %}
- {% include "templates/includes/list/list.html" %}
-
- {% endif %}
-{% else %}
-
-
-
-{% if not frappe.form_dict.new and layout|len > 1 %}
-
-{% endif %}
-
-
- {% if frappe.form_dict.name and web_page_link_text %}
-
- {% endif %}
-
- {% for page in layout %}
- {% set last_page = True if loop.index == layout|len else False %}
-
- {% if page.label %}
-
{{ _(page.label) }}
- {% endif %}
- {% if page.description %}
-
{{ _(page.description) }}
-
- {% endif %}
-
-
-
- {% if last_page and accept_payment %}
-
- {% if not doc.paid %}
- {% if payment_button_help %}
-
- {{ payment_button_help }}
- {% endif %}
-
- {{ payment_button_label or "Pay"}}
- {% else %}
-
{{ _("Payment Complete") }}
- {% endif %}
-
- {% endif %}
-
-
- {% if layout|len > 1 %}
-
- {{ _("Page {0} of {1}").format(loop.index, layout|len) }}
- {% endif %}
-
-
- {%- if loop.index > 1 -%}
-
- {%- endif -%}
-
- {% if (loop.index == layout|len or frappe.form_dict.new) %}
- {% if not read_only %}
-
- {% endif %}
- {% elif layout|len > 1 %}
-
- {% endif %}
-
-
-
- {% endfor %}
-
-
-
-{% if show_attachments and not frappe.form_dict.new -%}
-
-
{{ _("Attachments") }}
- {% for attachment in attachments %}
-
- {% endfor %}
-
-{%- endif %}
-
-{% if allow_comments and not frappe.form_dict.new -%}
-
-{%- endif %}
-{% endif %}
-
+
{% endblock %}
{% block script %}
@@ -244,7 +66,7 @@ frappe.sys_defaults = frappe.boot.sysdefaults;
Vue.prototype.frappe = window.frappe;
-
+
-
{{ _("Comments") }}
- {% include 'templates/includes/comments/comments.html' %} -