mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 20:37:59 +01:00
21 lines
778 B
Text
21 lines
778 B
Text
h1 Updating Profile Description
|
|
|
|
= form_for @changeset, ~p"/profiles/#{@user}/description", [method: "put"], fn f ->
|
|
= if @changeset.action do
|
|
.alert.alert-danger
|
|
p Oops, something went wrong! Please check the errors below.
|
|
|
|
.block
|
|
.block__header
|
|
span Personal Title
|
|
.block__content
|
|
.field
|
|
= text_input f, :personal_title, class: "input input--short", placeholder: "Title"
|
|
= error_tag f, :personal_title
|
|
|
|
.block
|
|
div
|
|
= render PhilomenaWeb.MarkdownView, "_input.html", conn: @conn, f: f, action_text: "About Me", placeholder: "Description (up to 10000 characters)", name: :description, required: false
|
|
|
|
.block.communication__edit-actions
|
|
=> submit "Update", class: "button button--important button--success"
|