<form method="post" action="<?php echo Webcollectivites::get_page_url('webco', array('showModule' => 'dashboard')); ?>">
	<div class="row pl-3 pt-5">
		<div class="col-6">
			<div class="row">
				<div class="col-12">
					<input id="title" type="text" name="mtbx_title" class="form-control" size="30" placeholder="Titre de la Metabox*" style="width : 100%; padding: 8px; margin:10px 0;" required>
				</div>
				<div class="col-12">
					<textarea class="form-control" type="textarea" id="content" name="mtbx_content" row ="7" placeholder="Contenu de la metabox*" style="resize: none; height: 500px; outline: none; width:100%;"></textarea>
				</div>
			</div>
		</div>
		<div class="col-6">
			<h5>Position initiale*:<span style="font-size: 85%;">(valable tant que la box n'a pas été déplacée manuellement)</span></h5>
			<div class="custom-control custom-radio">
				<input type="radio" id="column1" name="mtbx_position" value="column1" class="custom-control-input">
				<label class="custom-control-label" for="column1">Colonne 1</label>
			</div>
			<div class="custom-control custom-radio">
				<input type="radio" id="column2" name="mtbx_position" value="column2" class="custom-control-input">
				<label class="custom-control-label" for="column2">Colonne 2</label>
			</div>
			<div class="custom-control custom-radio">
				<input type="radio" id="column3" name="mtbx_position" value="column3" class="custom-control-input">
				<label class="custom-control-label" for="column3">Colonne 3</label>
			</div>
			<div class="custom-control custom-radio">
				<input type="radio" id="column4" name="mtbx_position" value="column4" class="custom-control-input">
				<label class="custom-control-label" for="column4">Colonne 4</label>
			</div>
			<div class="custom-control custom-radio">
				<input type="radio" id="side" name="mtbx_position" value="side" class="custom-control-input">
				<label class="custom-control-label" for="side">Side</label>
			</div>
			<div class="custom-control custom-checkbox">
				<input type="checkbox" id="checkbox-isPHP" name="mtbx_isPHP" value="true" class="custom-control-input">
				<label class="custom-control-label" for="checkbox-isPHP">Code PHP*</label>
			</div>
		</div>
		<div class="col-6 pt-3">
			<input name="saveMetaBox" type="submit" class="button button-primary button-large" id="submitMetabox" value="Créer">
		</div>
	</div>
</form>
<form method="post" action="<?php echo Webcollectivites::get_page_url('webco', array('showModule' => 'dashboardAtelier111')); ?>">
	<div class="row pt-5 pl-3">
		<div class="col-6">
				<p  style="display:inline-table">
					Scanner les fichiers déjà présent pour un ajout auto des metaboxs.
					<br />
					<i><strong>Attention: toutes les metabox trouvées seront ajoutées par défaut sur la colonne 1</strong></i>
				</p>
		</div>
		<div class="col-5">
			<input name="scanFile" type="submit" class="button button-primary button-large" id="scanFile" value="Scanner">
		</div>
	</div>
</form>
<div class="clearfix"></div>