{% extends "templates/web.html" %} {% block title %}{{ _(title) }}{% endblock %} {% block header %}

{{ _(title) }}

{% endblock %} {% block breadcrumbs %} {% if has_header and login_required %} {% include "templates/includes/breadcrumbs.html" %} {% endif %} {% 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 -%}
{{ _("Print") }}
{%- endif -%} {% endblock %} {% block page_content %}
{% if introduction_text %}

{{ _(introduction_text) }}

{% endif %}
{% if _login_required %}
{{ _("Please sign-up or login to begin") }}

{{ _("Login") }}

{% 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 %}
{% for page in layout %} {% endfor %}
{% 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 allow_comments and not frappe.form_dict.new -%}


{{ _("Comments") }}

{% include 'templates/includes/comments/comments.html' %}
{%- endif %} {% endif %}
{% endblock %} {% block script %} {% endblock %} {% block style %} {% endblock %}