fixes for the description form

This commit is contained in:
byte[] 2019-11-30 00:44:15 -05:00
parent 4c98a6f4ec
commit 9572ad0f21

View file

@ -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