philomena/lib/philomena_web/templates/image/scratchpad/edit.html.slime
2024-06-06 22:28:35 +02:00

9 lines
346 B
Text

h1
' Editing moderation notes for image
= link "##{@image.id}", to: ~p"/images/#{@image}"
= form_for @changeset, ~p"/images/#{@image}/scratchpad", fn f ->
.field
= textarea f, :scratchpad, placeholder: "Scratchpad contents", class: "input input--wide"
= submit "Update", class: "button", data: [disable_with: raw("Saving…")]