<%
  colors = {
    'open' => 'bg-yellow-100 text-yellow-800',
    'in_progress' => 'bg-blue-100 text-blue-800',
    'waiting_on_customer' => 'bg-purple-100 text-purple-800',
    'resolved' => 'bg-green-100 text-green-800',
    'closed' => 'bg-gray-100 text-gray-600'
  }
  color_class = colors[status.to_s] || 'bg-gray-100 text-gray-600'
%>
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium <%= color_class %>">
  <%= status.to_s.humanize %>
</span>
