{{define "pagination"}} {{if gt totalPages 1}} {{$currentPage := add . 1 }} {{$previousPage := sub $currentPage 1}} {{$nextPage := add $currentPage 1}} {{$firstPage := sub $currentPage 2 }} {{$lastPage := add $currentPage 2 }} {{end}} {{end}} {{define "verifyCrash"}} {{end}} {{define "deleteCrash"}} {{end}} {{define "downloadCrash"}} {{end}} {{define "editCrash"}} {{end}} {{define "content"}} {{if not .crashes}}
There are no existing crashes in the database.
{{else}} {{template "pagination" .currentPage}}