philomena/lib/philomena_web/templates/profile/scratchpad/edit.html.slime

13 lines
544 B
Text
Raw Normal View History

h1 Updating Moderation Scratchpad
2024-06-06 22:28:35 +02:00
= form_for @changeset, ~p"/profiles/#{@user}/scratchpad", [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
2023-11-23 17:07:49 +01:00
.block.communication-edit__actions
=> submit "Update", class: "button button--important button--success"