From f4bc9620a9701db17cb8f651643f65c984e65c27 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 28 Jan 2017 03:56:10 +0100 Subject: Update settings to re-use admin layout, one big navigation tree, improve settings forms --- app/views/settings/profiles/show.html.haml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'app/views/settings/profiles') diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index 6bb458aa2..b946853b1 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -7,12 +7,10 @@ .fields-group = f.input :display_name, placeholder: t('simple_form.labels.defaults.display_name') = f.input :note, placeholder: t('simple_form.labels.defaults.note') - = f.input :avatar, wrapper: :with_label - = f.input :header, wrapper: :with_label + = f.input :avatar, wrapper: :with_label, hint: t('simple_form.hints.defaults.avatar') + = f.input :header, wrapper: :with_label, hint: t('simple_form.hints.defaults.header') = f.input :locked, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.locked') .actions = f.button :button, t('generic.save_changes'), type: :submit - -.form-footer= render "settings/shared/links" -- cgit