mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
10 lines
384 B
Text
10 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…")]
|