Comment

Comment by sirk390

All that complexity when you could simply do:

  <td class="<%= @teacher.available_places> 0 ? 'bg-colour-green' : 'bg-colour-red' %>">
parent sirk390 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton