Widgets

The TOM uses a number of custom widgets to display information in a more user-friendly way. These widgets are implemented as Django template tags and can be used in any template. Be sure to include {% load tom_common_extras %} at the top of your template to load the required tags.

Copy Button:

Uses the copy_button.html partial to copy the text_to_copy to the clipboard. The help_text is displayed as a tooltip when hovering over the button. Use this tag to include a low-profile copy button in your template. Example: `{% copy_button 'text to be copied' 'Help Text' %}`