diff --git a/lib/philomena_web/templates/image/description/_form.html.slime b/lib/philomena_web/templates/image/description/_form.html.slime index ff65db1c..04be5fc0 100644 --- a/lib/philomena_web/templates/image/description/_form.html.slime +++ b/lib/philomena_web/templates/image/description/_form.html.slime @@ -7,9 +7,9 @@ = render PhilomenaWeb.TextileView, "_toolbar.html", conn: @conn .field - = textarea f, :description, class: "input input--wide js-toolbar-input", placeholder: "Describe this image in plain words - this should generally be info about the image that doesn't belong in the tags or source." - - = submit "Save changes", class: "button", autocomplete: "off", data: [disable_with: raw("Saving…")] + = textarea f, :description, id: "description", class: "input input--wide js-toolbar-input", placeholder: "Describe this image in plain words - this should generally be info about the image that doesn't belong in the tags or source." + + = submit "Save changes", class: "button", autocomplete: "off" button.button.button--separate-left type="reset" data-click-hide="#description-form" data-click-show=".image-description" ' Cancel