The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

36 rivejä
1.2 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 description
  20. %br/
  21. Displayed as a paragraph on the frontpage and used as a meta tag.
  22. %br/
  23. You can use HTML tags, in particular
  24. %code= '<a>'
  25. and
  26. %code= '<em>'
  27. %td= best_in_place @settings['site_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_description'])
  28. %tr
  29. %td
  30. %strong Extended site description
  31. %br/
  32. Displayed on extended information page
  33. %br/
  34. You can use HTML tags
  35. %td= best_in_place @settings['site_extended_description'], :value, as: :textarea, url: admin_setting_path(@settings['site_extended_description'])