philomena/lib/philomena_web/templates/image/scratchpad/edit.html.slime

10 lines
346 B
Text
Raw Permalink Normal View History

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