mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-25 04:47:59 +01:00
9 lines
384 B
Text
9 lines
384 B
Text
h1
|
|
' Editing moderation notes for image
|
|
= link "##{@image.id}", to: Routes.image_path(@conn, :show, @image)
|
|
|
|
= form_for @changeset, Routes.image_scratchpad_path(@conn, :update, @image), fn f ->
|
|
.field
|
|
= textarea f, :scratchpad, placeholder: "Scratchpad contents", class: "input input--wide"
|
|
|
|
= submit "Update", class: "button", data: [disable_with: raw("Saving…")]
|