From ca50ceeaf0e4195cf8a80da9fd226d97dbe14b7c Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 12 Jan 2017 20:54:14 +0100 Subject: Add settings for contact information --- app/views/admin/settings/index.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/views/admin') 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= '' %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' -- cgit