8 lines
252 B
Text
8 lines
252 B
Text
<%= if @state == :unknown do %>
|
|
<span title="SAFETY: <%= message(@state) %>">🚦<%= emoji(@state) %></span>
|
|
<% else %>
|
|
<a
|
|
href="#"
|
|
phx-click="toggle-safety"
|
|
title="SAFETY: <%= message(@state) %>">🚦<%= emoji(@state) %></a>
|
|
<% end %>
|