<% if (__element__.label || __element__.unit) { %><ion-item lines="none" style="display: flex;"> <% } %>
    <% if (__element__.label) { %><ion-label><%= __element__.label %></ion-label><% } %>
    <div style="margin: auto;">
        <monitoring-variable-value 
        [lines]="'none'"
        [variable]="<%= variableInput(__element__) %>" 
        [inputOptions]='<%= jsonify(__element__.inputOptions) %>' 
        [valueStyle]="{'font-size': '<%= __element__.valueFontSize || 'inherit' %>'}"<% if (__element__.valueFormatting) { %>
        [valueFormatting]="<%= variablenamify(variable) %>ValueFormatting"<% } %>
        slot="end" <% if (__element__.digitsInfo) { %>
        digitsInfo="<%= __element__.digitsInfo %>"<% } %> <% if (editable) {%>
        [editable]="true"<% } %>>
    </monitoring-variable-value>
    </div> 
<% if (__element__.unit) { %> <span class="variable-unit" slot="end"><%= __element__.unit %></span> <% } %> 
<% if (__element__.label || __element__.unit) { %></ion-item> <% } %>
