<header>
	<a href="#" class="close" data-bind="click: close">×</a>
	<h3 data-i18n="POPUPS_CREATE_FOLDER/TITLE_CREATE_FOLDER"></h3>
</header>
<form id="createfolderform" class="modal-body form-horizontal" autocomplete="off" spellcheck="false" data-bind="submit: submitForm">
	<div class="control-group">
		<label data-i18n="POPUPS_CREATE_FOLDER/LABEL_PARENT"></label>
		<select name="parent" data-bind="options: parentFolderSelectList, value: parentFolder,
			optionsText: 'name', optionsValue: 'id', optionsAfterRender: defaultOptionsAfterRender"></select>
	</div>
	<div class="control-group">
		<label data-i18n="GLOBAL/NAME"></label>
		<input name="folder" type="text"
			autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off"
			required="" pattern="^[^\\/]+$" data-bind="textInput: name">
	</div>
	<div class="control-group" data-bind="component: {
		name: 'Checkbox',
		params: {
			name: 'subscribe',
			label: 'SETTINGS_FOLDERS/BUTTON_SUBSCRIBE',
			value: subscribe
		}
	}"></div>
</form>
<footer>
	<button form="createfolderform" class="btn buttonCreate">
		<i class="icon-folder-add"></i>
		<span data-i18n="POPUPS_CREATE_FOLDER/BUTTON_CREATE"></span>
	</button>
</footer>
