Are you sure you want to delete all assigned shifts from the selected days?
<%= for {y, data} <- @date_map do %>
<%= y %>
<% months = Map.keys(data) %>
<%= for {m, i} <- Enum.with_index(months, 1) do %>
<%= data |> Map.get(m) |> hd() |> Calendar.strftime("%b") %>:
<% days = Map.get(data, m) %>
<%= for {d, i} <- Enum.with_index(days, 1) do %>
<%= d.day %><%= if i < length(days) do %>,<% end %>
<% end %>
<%= if i < length(months) do %>
<% end %>
<% end %>
<% end %>