2019-12-06 01:36:45 +01:00
|
|
|
h1 Updating Profile Description
|
|
|
|
|
2024-06-06 22:28:35 +02:00
|
|
|
= form_for @changeset, ~p"/profiles/#{@user}/description", [method: "put"], fn f ->
|
2019-12-06 01:36:45 +01:00
|
|
|
= if @changeset.action do
|
|
|
|
.alert.alert-danger
|
|
|
|
p Oops, something went wrong! Please check the errors below.
|
|
|
|
|
|
|
|
.block
|
|
|
|
.block__header
|
2023-11-23 17:07:49 +01:00
|
|
|
span Personal Title
|
2019-12-06 01:36:45 +01:00
|
|
|
.block__content
|
|
|
|
.field
|
|
|
|
= text_input f, :personal_title, class: "input input--short", placeholder: "Title"
|
|
|
|
= error_tag f, :personal_title
|
|
|
|
|
|
|
|
.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: "About Me", placeholder: "Description (up to 10000 characters)", name: :description, required: false
|
2019-12-06 01:36:45 +01:00
|
|
|
|
2024-06-12 20:50:46 +02:00
|
|
|
.block.communication__edit-actions
|
2023-11-23 17:07:49 +01:00
|
|
|
=> submit "Update", class: "button button--important button--success"
|