Forms
Table of Contents
Traits
- AddAdvertFormTrait
- Two-step advert adding:
- without `catId` in the URL: `CategorySelectForm` (tree selection with checkboxes)
- with `catId[]` in the URL: `AdvertForm` for the chosen categories
- AdvertAuthorizationFormTrait
- Lets a guest log in to edit an advert with the advert password.
- AdvertPasswordResetFormTrait
- New password of an advert placed without an account, from the one-time link of "forgot
password" (`edit?id=...&resetKey=...`).
- EditAdvertFormTrait
- Advert editing: loads the advert, verifies the permission (logged-in owner or session token)
and provides the actions that show the edit form.
- WatchdogFormTrait