|
|
@@ -422,7 +422,7 @@ export default class WebForm extends frappe.ui.FieldGroup { |
|
|
|
render_success_page(data) { |
|
|
|
if (this.allow_edit && data.name) { |
|
|
|
$(".success-page").append(` |
|
|
|
<a href="/${this.route}/${data.name}/edit" class="edit-button btn btn-default btn-md ml-2"> |
|
|
|
<a href="/${this.route}/${data.name}/edit" class="edit-button btn btn-default btn-md"> |
|
|
|
${__("Edit your response", null, "Button in web form")} |
|
|
|
</a> |
|
|
|
`); |
|
|
@@ -430,7 +430,7 @@ export default class WebForm extends frappe.ui.FieldGroup { |
|
|
|
|
|
|
|
if (this.login_required && !this.allow_multiple && !this.show_list && data.name) { |
|
|
|
$(".success-page").append(` |
|
|
|
<a href="/${this.route}/${data.name}" class="view-button btn btn-default btn-md ml-2"> |
|
|
|
<a href="/${this.route}/${data.name}" class="view-button btn btn-default btn-md"> |
|
|
|
${__("View your response", null, "Button in web form")} |
|
|
|
</a> |
|
|
|
`); |
|
|
|