Fixes for OIDC and HTML

This commit is contained in:
Dan Milne
2025-11-09 12:04:26 +11:00
parent c92e69fa4a
commit d9f11abbbf
3 changed files with 38 additions and 32 deletions

View File

@@ -71,16 +71,3 @@
</div>
</div>
<% end %>
<%# Helper method for border colors %>
<%
def border_class_for(type)
case type.to_s
when 'notice' then 'border-green-200'
when 'alert', 'error' then 'border-red-200'
when 'warning' then 'border-yellow-200'
when 'info' then 'border-blue-200'
else 'border-gray-200'
end
end
%>