You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

  1. - content_for :page_title do
  2. Site Settings
  3. %table.table
  4. %colgroup
  5. %col{ width: '35%' }/
  6. %thead
  7. %tr
  8. %th Setting
  9. %th Click to edit
  10. %tbody
  11. %tr
  12. %td{ rowspan: 2 }
  13. %strong Contact information
  14. %td= best_in_place @settings['site_contact_username'], :value, url: admin_setting_path(@settings['site_contact_username']), place_holder: 'Enter a username'
  15. %tr
  16. %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'
  17. %tr
  18. %td
  19. %strong Site title
  20. %td= best_in_place @settings['site_title'], :value, url: admin_setting_path(@settings['site_title'])
  21. %tr
  22. %td
  23. %strong Site description
  24. %br/
  25. Displayed as a paragraph on the frontpage and used as a meta tag.
  26. %br/
  27. You can use HTML tags, in particular
  28. %code= '<a>'
  29. and
  30. %code= '<em>'
  31. %td= best_in_place @settings['site_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_description'])
  32. %tr
  33. %td
  34. %strong Extended site description
  35. %br/
  36. Displayed on extended information page
  37. %br/
  38. You can use HTML tags
  39. %td= best_in_place @settings['site_extended_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_extended_description'])