              <li>
                                            <select class="form-select keyLayout" name="keyLayout">
                                                {{ range $layout := $device.Layouts }}
                                                {{ if eq $device.DeviceProfile.Layout $layout }}
                                                <option value="{{ $layout }}" selected>{{ $layout }}</option>
                                                {{ else }}
                                        