Closed AxDSan closed 5 years ago
Not really an issue, but I would like to know how to achieve this, is it even possible?
I was thinking: span.tag.#{game_server.status == "online" ? "online" : "offline"} = game_server.status
but i don't even know...
nvm I was able to achieve this by doing:
td class="tag #{game_server.status == "Online" ? "online" : "offline"}" = game_server.status
Not really an issue, but I would like to know how to achieve this, is it even possible?
I was thinking: span.tag.#{game_server.status == "online" ? "online" : "offline"} = game_server.status
but i don't even know...