Add profile bio markdown option
This commit is contained in:
parent
fc87e18044
commit
ebb0dec334
6 changed files with 18 additions and 3 deletions
|
@ -18,7 +18,11 @@
|
|||
= f.input :display_name, wrapper: :with_block_label, input_html: { maxlength: 30, data: { default: @account.username } }
|
||||
|
||||
.fields-group
|
||||
= f.input :note, wrapper: :with_block_label, input_html: { maxlength: 500 }
|
||||
= f.input :note, wrapper: :with_block_label, input_html: { maxlength: 500, rows: 8 }
|
||||
|
||||
= f.simple_fields_for :settings, current_user.settings do |ff|
|
||||
.fields-group
|
||||
= ff.input :bio_markdown, input_html: { name: 'account[bio_markdown]' }, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_bio_markdown')
|
||||
|
||||
.fields-row__column.fields-group.fields-row__column-6
|
||||
.input.with_block_label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue