<%
  colors = {
    'low' => 'bg-gray-100 text-gray-600',
    'normal' => 'bg-blue-100 text-blue-800',
    'high' => 'bg-orange-100 text-orange-800',
    'urgent' => 'bg-red-100 text-red-800'
  }
  color_class = colors[priority.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 %>">
  <%= priority.to_s.humanize %>
</span>
