📝 Doc cron, mail queue, CSRF and flash messages
Add the scheduled tasks guide, environment variable overrides, the [mail] and [cron] references, CSRF protection without tokens, flash messages after redirects and the username policies of pagetop-user. Update the framework comparison with Poem and Topcoat.
This commit is contained in:
parent
1a41a456d4
commit
4e007feec8
23 changed files with 946 additions and 125 deletions
|
|
@ -151,6 +151,11 @@ impl Theme for Earth {
|
|||
Como el componente expone sus datos con *getters* (`badge.label()`), el tema no depende de sus
|
||||
detalles internos.
|
||||
|
||||
Si capturas `layout::Region` para maquetar la región de contenido a tu manera, incluye al
|
||||
principio `Messages::new().with_deferred(true)`, que es lo que pone PageTop: sin él, los avisos al
|
||||
usuario no se ven. Es también la forma de llevarlos a otro lugar de la página, por ejemplo a la
|
||||
cabecera.
|
||||
|
||||
## 6. Cambia las páginas de error
|
||||
|
||||
Las páginas 403, 404 y de error grave se pintan con la plantilla activa, para no perder la
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue