diff --git a/frappe/templates/generators/web_form.html b/frappe/templates/generators/web_form.html index 07619e8560..f550ff652a 100644 --- a/frappe/templates/generators/web_form.html +++ b/frappe/templates/generators/web_form.html @@ -152,7 +152,7 @@ {% if allow_comments -%} -
{{ _("Comments") }}
@@ -243,6 +243,7 @@ frappe.ready(function() { callback: function(data) { if(!data.exc) { $form.addClass("hide"); + $(".comments").addClass("hide"); scroll(0, 0); $(".form-message") .html("{{ success_message or 'Thank You!' }}") diff --git a/frappe/templates/includes/sidebar.html b/frappe/templates/includes/sidebar.html index 5cea826b02..a6a318fb5d 100644 --- a/frappe/templates/includes/sidebar.html +++ b/frappe/templates/includes/sidebar.html @@ -3,7 +3,7 @@{{ type }} {{ _("List") }}
+{{ doctype }} {{ _("List") }}
{% endblock %} {% block content %} -