diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-12 20:54:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-12 20:54:14 +0100 |
commit | ca50ceeaf0e4195cf8a80da9fd226d97dbe14b7c (patch) | |
tree | a2d4242347e9400efc8edb8056fdea2081d88379 /app | |
parent | b11fdc3ae3f90731c01149a5a36dc64e065d4ea2 (diff) |
Add settings for contact information
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/settings/index.html.haml | 6 |
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' |