mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 22:47:59 +01:00
11 lines
405 B
Text
11 lines
405 B
Text
|
<h1>
|
||
|
Editing moderation notes for image
|
||
|
<%= link("##{@image.id}", to: ~p"/images/#{@image}") %>
|
||
|
</h1>
|
||
|
<%= form_for @changeset, ~p"/images/#{@image}/scratchpad", fn f -> %>
|
||
|
<div class="field">
|
||
|
<%= textarea(f, :scratchpad, placeholder: "Scratchpad contents", class: "input input--wide") %>
|
||
|
</div>
|
||
|
<%= submit("Update", class: "button", data: [disable_with: raw("Saving…")]) %>
|
||
|
<% end %>
|