<% content_for :title, t('.title') %>

<%= t('.title') %>

<% if notice.present? %>

<%= notice %>

<% end %>
<%= link_to t('.new_reservation'), new_reservation_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium ml-auto" %>
<% calendar_translations = { hours: t('reservations.calendar.hours'), delete_confirm: t('reservations.calendar.delete_confirm'), delete_success: t('reservations.calendar.delete_success'), delete_error: t('reservations.calendar.delete_error'), network_error: t('reservations.calendar.network_error'), edit: t('reservations.calendar.edit'), delete: t('reservations.calendar.delete') }.to_json %> <%= tag.div nil, data: { reservations: @reservations.to_json, translations: calendar_translations }, id: "main-calendar", style: "height: 100%; width: 100%;" %>