<%= calendar events: events do |date, events| %>
          
  <div class="calendar-date"><%= date.day %></div>

  <% events.each do |event| %>
    <div>
      <%= link_to "#{event.event_type} (#{@companies.find(event.company_id).name})", user_company_path(@user, @companies.find(event.company_id)) %><br/> 
    </div>
  <% end %>

<% end %>

<%= month_calendar events: events do |date, events| %>
          
  <div class="calendar-date"><%= date.day %></div>

  <% events.each do |event| %>
    <div>
      <%= link_to "#{event.event_type} (#{@companies.find(event.company_id).name})", user_company_path(@user, @companies.find(event.company_id)) %><br/> 
    </div>
  <% end %>

<% end %>

Change calendar back to month view
Change calendar back to month view
