{% extends "templates/web.html" %} {% block breadcrumbs %}{% endblock %} {% macro action_buttons() %} {% if allow_print and not is_new %} {% set print_format_url = "/printview?doctype=" + doc_type + "&name=" + doc_name + "&format=" + print_format %} {% endif %} {% if allow_edit and doc_name and not is_form_editable %} {{ _("Edit", null, "Button in web form") }} {% endif %} {% if is_new or is_form_editable %} {{ _("Cancel", null, "Button in web form") }} {% endif %} {% endmacro %} {% block page_content %} {% if has_header and login_required and show_list %} {% include "templates/includes/breadcrumbs.html" %} {% else %}
{% endif %} {% if allow_comments and not is_new and not is_list -%}
{{ _("Comments") }}
{% include 'templates/includes/comments/comments.html' %}