2019-12-22 23:17:20 +01:00
|
|
|
h1 Updating Moderation Scratchpad
|
|
|
|
|
2024-04-29 02:55:27 +02:00
|
|
|
= form_for @changeset, ~p"/profiles/#{@user}/scratchpad", [method: "put"], fn f ->
|
2019-12-22 23:17:20 +01:00
|
|
|
= if @changeset.action do
|
|
|
|
.alert.alert-danger
|
|
|
|
p Oops, something went wrong! Please check the errors below.
|
|
|
|
.block
|
2021-09-13 01:19:00 +02:00
|
|
|
div
|
2021-09-30 23:56:38 +02:00
|
|
|
= render PhilomenaWeb.MarkdownView, "_input.html", conn: @conn, f: f, action_text: "Scratchpad", placeholder: "Scratchpad Contents", name: :scratchpad, required: false
|
2019-12-22 23:17:20 +01:00
|
|
|
|
|
|
|
.block__content.communication-edit__actions
|
|
|
|
=> submit "Update", class: "button"
|