Skip to content

Commit 65445e5

Browse files
committed
Add marksmith to user biography
1 parent b2e8d87 commit 65445e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/api/app/views/webui/user/_edit_account_form.html.haml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
%span.badge.text-bg-secondary
1414
= title.upcase
1515
.mb-3
16-
= f.text_area(:biography, rows: 6, placeholder: 'Biography', maxlength: User::MAX_BIOGRAPHY_LENGTH_ALLOWED, class: 'form-control')
16+
= render WriteAndPreviewComponent.new(form: f, preview_message_url: nil, message_body_param: nil,
17+
text_area_attributes: { rows: 6, placeholder: 'Biography',
18+
required: false, object_name: :biography,
19+
maxlength: User::MAX_BIOGRAPHY_LENGTH_ALLOWED})
20+
1721
= f.label(:biography, class: 'd-block text-end') do
1822
%small.form-text#bio-chars-counter
1923
.mb-3

0 commit comments

Comments
 (0)