election_day.layouts.archive
Classes
Extends the base layout class with methods related to chameleon |
Module Contents
- class election_day.layouts.archive.ArchiveLayout(model: onegov.election_day.collections.SearchableArchivedResultCollection, request: onegov.election_day.request.ElectionDayRequest)[source]
Bases:
onegov.election_day.layouts.DefaultLayout
Extends the base layout class with methods related to chameleon template rendering.
This class assumes the existance of two templates:
layout.pt -> Contains the page skeleton with headers, body and so on.
macros.pt -> Contains chameleon macros.