Description
Render the navigation for a paginated collection. Input is the variable returned by the paginate tag
Syntax
{{ <paginate object> | default_pagination: <options> }}
Example
{{ paginate | default_pagination: next: 'Next entries', previous: 'Previous entries' }}
Options
Name | Type | Description |
---|---|---|
previous | String | Label of the previous link. By default, the value of I18n.t('pagination.previous') is used. |
next | String | Label of the next link. By default, the value of I18n.t('pagination.previous') is used. |