about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-14 17:41:13 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-14 17:41:13 +0100
commit25d7c1b6eaf03ddaec892c82f7d93a128b79a872 (patch)
treec9991b70e8cfd584c09b502bc39dc0763d017731 /app/views/settings
parent34413615683677e26213263fb98f63b5aab64872 (diff)
Customizing the last of doorkeeper views, adding CSS for dashboard forms
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/show.html.haml18
1 files changed, 13 insertions, 5 deletions
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'