2
0

button.rst 717 B

123456789101112131415161718192021222324
  1. Button Block
  2. ============
  3. The button block renders an HTML anchor styled as a button. This can be used to
  4. link to pages, documents, or external links.
  5. Field Reference
  6. ---------------
  7. Fields and purposes:
  8. .. include:: baselink.rst
  9. * **Button Title** - The text to show on the button. You can insert simple HTML
  10. here as well, such as ``Learn <b>More</b>``.
  11. * **Button Style** - The appearance of the button. This is a choice loaded from
  12. ``CODERED_FRONTEND_BTN_STYLE_CHOICES`` Django setting and is inserted as a
  13. CSS class in the HTML.
  14. * **Button Size** - The size of button. This is a choice loaded from
  15. ``CODERED_FRONTEND_BTN_SIZE_CHOICES`` Django setting and is inserted as a CSS
  16. class in the HTML.