JaneHQ::Web::AlertGroupForm
The values the alert group form posts, normalized. Kept as one struct so the create and update routes share parsing, validation and — when validation fails — re-rendering the form exactly as the user left it.
Constructors
from_params(env) : AlertGroupForm
The pickers are plain checkbox groups (so the form works without JS), which means each arrives as a repeated body param.
Instance methods
alert_count
Sourcealert_frequency_minutes
Sourcealert_target
Sourcealert_type
Sourceenabled
Sourceevent_summary
Sourceevents
Sourcename
Sourcerecurring?
Sourceservice_summary
Sourceservices
Sourcestatus_summary
Sourcestatuses
Sourcetarget_summary
Each picker's collapsed label. Rendered server-side so the form still reads correctly with JS disabled; public/alerts.js keeps them current.
targets
Sourcevalidate
Source