add disable-with to dupe report form

This commit is contained in:
byte[] 2019-12-23 09:54:26 -05:00
parent c76f28dc0b
commit 7b97a40ec8

View file

@ -5,4 +5,4 @@
= number_input f, :duplicate_of_image_id, class: "input", min: 0, placeholder: "image number.", required: true = 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" = text_input f, :reason, class: "input input--separate-left", placeholder: "Explanation"
.actions .actions
= submit "Report Duplicate", class: "button" = submit "Report Duplicate", class: "button", data: [disable_with: raw("Saving…")]