xt-align:center;">
  <div style="margin:auto;text-align:center;display:inline-block;">
    {% if (lock is not iterable and lock != '') or (lock is iterable and lock[0] != '') %}
    <div style="float:left;" class="popup_list">
      {% if lock is iterable  %}
        {{ basic.stateswitch(id~'_lock', lock[0], 'icon', [0,1], ['secur_open','secur_locked'], '', lock[1]) }}
      {% else %}
        {{ basic.stateswitch(id~'_lock', lock, 'icon', [0,1], ['secur_open','secur_locked']) }}
      {% endif %}
        <