<div id="modalMove" class="modal fade" tabindex="-1" aria-labelledby="modalMoveLabel" role="dialog">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="modalMoveLabel"><span id="actionTitle">Move Copy Link</span></h5>
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">
						<ion-icon name="close-outline"></ion-icon>
					</span>
				</button>
			</div>
			<div class="modal-body">
				<div class="form-group row">
					<label class="col-form-label col-md-3 col-sm-2" name="documents:mv_cp_link:location">Location</label>

					<div class="col-md-9 col-sm-10">
						<span class="js-folder-picker-wrapper">
							<span id="modal-input">
								<select class="form-control" name="folderSelect" id="folderSelect" size="1" multiple="multiple">
									<option value="0" selected="selected">---</option>
								</select>
							</span>
							<span id="copymoveChangeLocation">
								<input type="button" class="btn btn-secondary js-select-button mt-2" value="${documents:mv_cp_link:change_location.value}" />
							</span>
						</span>
						<script type="text/javascript">
                            require(['folder_picker'], function (FolderPicker) {
                                var fp = new FolderPicker('folderSelect', 'admin=0&only_editable=1');
                                fp.init();
                            });
						</script>
					</div>
				</div>

				<div class="form-group row">
					<label class="col-form-label col-md-3 col-sm-2" name="documents:mv_cp_link:files">Files</label>

					<div class="col-md-9 col-sm-10">
						<div class="form-control-plaintext">
							<ul id="modal-files" class="nav flex-column">
								<script type="text/template" id="fileListTemplate">
									{{ if(type === 'document') { }}
										<li class="nav-item" id="{{-id }}">
											<span class="{{- icon }}"></span> {{- title }}
											{{ if(response) { }}
												<span class="badge badge-pill badge-{{= success }}">{{-message}}</span>
											{{ } }}
										</li>
									{{ } }}
									{{ if(type === 'folder') { }}
										<li  class="nav-item" id="{{-id }}">
											<ion-icon name="folder-outline"></ion-icon> {{- title }}
											{{ if(response) { }}
												<span class="badge badge-pill badge-{{= success }}">{{- message }}</span>
											{{ } }}
										</li>
									{{ } }}
								</script>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
		        <button type="button" class="btn btn-secondary" data-dismiss="modal"><loc name="common:cancel">[Cancel]</loc></button>
				<button name="copymoveConfirm" id="copymoveConfirm" class="btn btn-primary">[Confirm]</button>
				<button id="copymoveClose" class="btn btn-info" style="display: none;" data-dismiss="modal"><loc name="common:close">[Close]</loc></button>
			</div>
		</div>
	</div>
</div>
