<%= t("bus_booking.bus_schedule") %>

<% @buses.each do |bus| %> <% end %>
<%= t("bus_booking.bus_route") %> <%= t("bus_booking.capacity") + "/" + t("bus_booking.reserved") %> <%= t("bus_booking.actions") %> <%= t("bus_booking.posted_by") %>
<%= bus.departure_time.strftime("%Y/%m/%d (%H:%M)") %> - <%= bus.bus_route %>
<%= bus.remark.html_safe %>
<%= bus.capacity %> / <%= bus.bookings.count %> <% if current_user.is_admin? %> <%= t("bus_booking.details") %> <%= t(:edit) %> <%= t("bus_booking.duplicate") %> <%= t("bus_booking.delete_route") %> <% end %> <% if bus.can_reserve? %> <%= t("bus_booking.reserve") %> <% end %> <%= bus.posted_by %>
<%= content_tag :div, paginate(@buses), class: "pagination pagination-centered" %>