
<?php \Laravel\Section::start('content'); ?>

<div id="slideInterne" class="fadeTopJs"><h1>Demandez votre <strong>devis gratuit (EN)</strong></h1><h2>Plus votre demande sera complète, plus nous pourrons vous répondre précisément. (EN)</h2></div>
<div class="wrapperPadding">
	<div class="wrapper contact">
	
		<?php if(Session::get('type')): ?>
		<div class="alert alert-<?php echo  Session::get('type') ; ?>" style="margin-top:-20px;">
			<button type="button" class="close" data-dismiss="alert">×</button>
			<?php echo  Session::get('message') ; ?>
		</div>
		<?php endif; ?>

		<?php echo  Form::open(URL::to_route('sitedevis'), 'POST') ; ?>
			<div class="cadre">
				<fieldset>
					<label>Nom <sup>*</sup></label>
					<?php echo  Form::text('nom', Input::old('nom'), array('style'=>($errors->first('nom')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<fieldset class="last">
					<label>Prénom</label>
					<?php echo  Form::text('prenom', Input::old('prenom'), array('style'=>($errors->first('prenom')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<div class="clear"></div>
				<fieldset>
					<label>Société</label>
					<?php echo  Form::text('societe', Input::old('societe'), array('style'=>($errors->first('societe')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<fieldset class="last">
					<label>Site internet</label>
					<?php echo  Form::text('siteweb', Input::old('siteweb'), array('style'=>($errors->first('siteweb')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<div class="clear"></div>
				<fieldset>
					<label>E-mail <sup>*</sup></label>
					<?php echo  Form::text('email', Input::old('email'), array('style'=>($errors->first('email')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<fieldset class="last">
					<label>Téléphone</label>
					<?php echo  Form::text('tel', Input::old('tel'), array('style'=>($errors->first('tel')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
				<div class="clear"></div>
				<p>Type de projet</p>
				<div class="typeProjet">
					<?php echo  Form::checkbox('siteinternet', 'y', (Input::old('siteinternet')=='y') ? true : false ) ; ?>
					<p>Création de site internet</p>
				</div>
				<div class="typeProjet last">
					<?php echo  Form::checkbox('webmarketing', 'y', (Input::old('webmarketing')=='y') ? true : false ) ; ?>
					<p>Webmarketing</p>
				</div>
				<div class="clear"></div>
				<div class="typeProjet">
					<?php echo  Form::checkbox('mobile', 'y', (Input::old('mobile')=='y') ? true : false ) ; ?>
					<p>Application mobile</p>
				</div>
				<div class="typeProjet last">
					<?php echo  Form::checkbox('print', 'y', (Input::old('print')=='y') ? true : false ) ; ?>
					<p>Print</p>
				</div>
				<div class="clear"></div>
				<div class="typeProjet">
					<?php echo  Form::checkbox('edition', 'y', (Input::old('edition')=='y') ? true : false ) ; ?>
					<p>Création d'identité visuelle</p>
				</div>
				<div class="clear"></div>
			</div>
			<div class="cadre last description">
				<fieldset class="wide">
					<label>Description de votre projet <sup>*</sup></label>
					<?php echo  Form::textarea('description', Input::old('description'), array('style'=>($errors->first('description')) ? 'border-color:#e85256' : '')) ; ?>
				</fieldset>
			</div>
			<div class="clear"></div>
			<p class="envoi quotation"><button type="submit" class="btn btn-large btn-danger"><?php echo  __('site.envoyer') ; ?></button></p>
		<?php echo  Form::close() ; ?>
	</div>
</div>

<?php echo view('includes.clients')->with(get_defined_vars())->render(); ?>
	
<?php \Laravel\Section::stop(); ?>
<?php echo view('template')->with(get_defined_vars())->render(); ?>