18 lines
416 B
Text
18 lines
416 B
Text
|
<div class="card">
|
||
|
<div class="card-divider">
|
||
|
<h4>Temperature</h4>
|
||
|
</div>
|
||
|
<div class="card-section">
|
||
|
<div class="grid-x">
|
||
|
<div class="cell auto"><strong>Temperature</strong></div>
|
||
|
<div class="cell auto text-right">
|
||
|
<%= if @temperature do %>
|
||
|
<%= Float.round(@temperature, 2) %>° C
|
||
|
<% else %>
|
||
|
-
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|