% my ($prev, $current, $next) = journeys->get_nav_months(uid => current_user->{id}, year => $year, month => $month); % if ($prev) {
  • chevron_left
  • % } % else {
  • chevron_left
  • % } % if ($current) {
  • <%= $current->[1] %>
  • % } % if ($next) {
  • chevron_right
  • % } % else {
  • chevron_right
  • % }
  • <%= $year %>