about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-12 20:54:14 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-12 20:54:14 +0100
commitca50ceeaf0e4195cf8a80da9fd226d97dbe14b7c (patch)
treea2d4242347e9400efc8edb8056fdea2081d88379 /app/views/admin
parentb11fdc3ae3f90731c01149a5a36dc64e065d4ea2 (diff)
Add settings for contact information
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/settings/index.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/settings/index.html.haml b/app/views/admin/settings/index.html.haml
index b8ca3a7a4..4f9ad2fde 100644
--- a/app/views/admin/settings/index.html.haml
+++ b/app/views/admin/settings/index.html.haml
@@ -20,3 +20,9 @@
         and
         %code= '<em>'
       %td= best_in_place @settings['site_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_description'])
+    %tr
+      %td{ rowspan: 2 }
+        %strong Contact information
+      %td= best_in_place @settings['site_contact_username'], :value, url: admin_setting_path(@settings['site_contact_username']), place_holder: 'Enter a username'
+    %tr
+      %td= best_in_place @settings['site_contact_email'], :value, url: admin_setting_path(@settings['site_contact_email']), place_holder: 'Enter a public e-mail address'