Add settings for contact information

This commit is contained in:
Eugen Rochko 2017-01-12 20:54:14 +01:00
parent b11fdc3ae3
commit ca50ceeaf0

View file

@ -20,3 +20,9 @@
and and
%code= '<em>' %code= '<em>'
%td= best_in_place @settings['site_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_description']) %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'