From 7b97a40ec83ba3a18e7b797f79f67e6bb5a15ef9 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 23 Dec 2019 09:54:26 -0500 Subject: [PATCH] add disable-with to dupe report form --- lib/philomena_web/templates/duplicate_report/_form.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/duplicate_report/_form.html.slime b/lib/philomena_web/templates/duplicate_report/_form.html.slime index e76c7a56..128de57b 100644 --- a/lib/philomena_web/templates/duplicate_report/_form.html.slime +++ b/lib/philomena_web/templates/duplicate_report/_form.html.slime @@ -5,4 +5,4 @@ = number_input f, :duplicate_of_image_id, class: "input", min: 0, placeholder: "image number.", required: true = text_input f, :reason, class: "input input--separate-left", placeholder: "Explanation" .actions - = submit "Report Duplicate", class: "button" + = submit "Report Duplicate", class: "button", data: [disable_with: raw("Saving…")]