Form controls
Rendered from the actual Ruby components. Try the controls with a keyboard.
Light preview
Section titled “Light preview”Dark preview
Section titled “Dark preview”<fieldset> <legend>Report settings</legend> <%= render Pathogen::Form::RadioButton.new(attribute: :report_format, value: "summary", label: "Summary report", checked: true) %> <%= render Pathogen::Form::RadioButton.new(attribute: :report_format, value: "full", label: "Full report") %> <%= render Pathogen::Form::Switch.new(attribute: :include_metadata, label: "Include sample metadata", checked: true) %></fieldset>