[% class = 'PID' -%]
<div class="complex_device default_dev device [% class %]_[% name %]" devclass="[% class %]" devname="[% name %]" title="[% IF label %][% label %][% ELSE %][% name %][% END %]">
[% name.substr(0,9) %]
<br>
<div style="display:inline-block;" class="[% class%]_[% name %]_setpoint" [% IF user_info.auth %]onclick="set_PID('[% name %]')"[% END %]></div>
</div>