<%= tag.div class: [ 'calendar-appointment', 'tooltip' ] do %> <% if appointment.user %> <%= avatar( appointment.user, size: 20, class: 'appointment-avatar' ) %> <% end %> <%= link_to appointment.subject, customer_appointment_path(appointment) %> <%= appointment.subject %>
Customer: <%= appointment.customer&.name %>
Vehicle: <%= appointment.vehicle&.name %>
Technician: <%= appointment.user&.name %>
Hours: <%= appointment.estimated_hours %>
<% end %>