From 25d7c1b6eaf03ddaec892c82f7d93a128b79a872 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 14 Mar 2016 17:41:13 +0100 Subject: Customizing the last of doorkeeper views, adding CSS for dashboard forms --- app/views/settings/show.html.haml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'app/views/settings/show.html.haml') diff --git a/app/views/settings/show.html.haml b/app/views/settings/show.html.haml index ac5a1c36f..e184d1ca6 100644 --- a/app/views/settings/show.html.haml +++ b/app/views/settings/show.html.haml @@ -1,6 +1,14 @@ +- content_for :page_title do + Edit profile + = simple_form_for @account, url: settings_path, method: :put do |f| - = f.input :display_name - = f.input :note - = f.input :avatar - = f.input :header - = f.button :submit + = f.error_notification + + .form-inputs + = f.input :display_name + = f.input :note + = f.input :avatar + = f.input :header + + .form-actions + = f.button :submit, 'Save changes' -- cgit