mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 05:57:58 +01:00
12 lines
564 B
Text
12 lines
564 B
Text
h1 Updating Moderation Scratchpad
|
|
|
|
= form_for @changeset, Routes.profile_scratchpad_path(@conn, :update, @user), [method: "put"], fn f ->
|
|
= if @changeset.action do
|
|
.alert.alert-danger
|
|
p Oops, something went wrong! Please check the errors below.
|
|
.block
|
|
div
|
|
= render PhilomenaWeb.MarkdownView, "_input.html", conn: @conn, f: f, action_text: "Scratchpad", placeholder: "Scratchpad Contents", name: :scratchpad, required: false
|
|
|
|
.block.communication-edit__actions
|
|
=> submit "Update", class: "button button--important button--success"
|