%# /templates/birthdays/manage.html.ep % layout 'default'; % title 'Manage Birthdays'; <% content_for head => begin %> <% end %>

🎂 Manage Birthdays

← Back to Birthdays

Add Birthday

All Birthdays

<% if (@$birthdays) { %> <% for my $b (@$birthdays) { %>
<%= $b->{emoji} %>
<%= $b->{name} %>
<% my ($year, $month, $day) = split('-', $b->{birth_date}); my $formatted_date = "$day-$month-$year"; %> <%= $formatted_date %>
<% } %> <% } else { %>

No birthdays found.

<% } %>