commit: ca50ceeaf0e4195cf8a80da9fd226d97dbe14b7c
parent: b11fdc3ae3f90731c01149a5a36dc64e065d4ea2
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 12 Jan 2017 20:54:14 +0100
Add settings for contact information
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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'