<?php if($this->success) : ?>
<?= $this->cmsContent('subscription-success',array('setHeading'=>true,'setSeo'=>true)) ?>
<?php else : ?>	
<?= $this->cmsContent('subscription-index',array('setHeading'=>true,'setSeo'=>true)) ?>
<?= $this->form ?>
<?php endif; ?>
<?php 

$this->showLogo = true;
$this->headStyle()->captureStart(); ?>

form#customForm p label {
	width:180px;
	clear:left;
}

form#customForm p.wrapper-session12 label,
form#customForm p.wrapper-session34 label,
form#customForm p.wrapper-fraisInscr label{
	margin-left: 40px;
	width:450px;
}

form#customForm p.wrapper-session12 label.required,
form#customForm p.wrapper-session34 label.required,
form#customForm p.wrapper-fraisInscr label.required{
	margin-left: 0px;
	width:180px;
}

form#customForm p.wrapper-session12 label.required, 
form#customForm p.wrapper-session34 label.required, 
form#customForm p.wrapper-fraisInscr label.required { 
	margin-left: 0 ; 
}
form#customForm p.wrapper-session12 br{ clear:left; }
form#customForm p.wrapper-session34 br{ clear:left; }
form#customForm p.wrapper-fraisInscr br{ clear:left; }

form#customForm p.wrapper-session12 input,
form#customForm p.wrapper-session34 inpu, 
form#customForm p.wrapper-fraisInscr input { 
	margin-right: 3px; 
}


form#customForm p.wrapper-civility label, form#customForm p.wrapper-language label { clear:none; float: none; display: inline-block; }
form#customForm p.wrapper-civility br, form#customForm p.wrapper-language br { clear:none; float: none; display:none; }

form#customForm p.wrapper-submit { margin-top:20px; }


<?php $this->headStyle()->captureEnd(); ?>
<?php $this->inlineScript()->captureStart(); ?>
jQuery(function(){
	$('input#federation').change(checkFed);
	checkFed();
});

function checkFed(){
	console.debug($('input#federation').is(':checked'),'ok');
	if($('input#federation').is(':checked')){
		$('p.wrapper-federationName:hidden').show();	
	}else{
		$('p.wrapper-federationName:visible').hide();	
		
	}
}

<?php $this->inlineScript()->captureEnd(); ?>
