<div class="form_wrapper">
	<form method="post">
		<input type="hidden" name="action" value="coach_create">
		
		<div>
			<label class="desc" id="title1" for="ua_name">Név:</label>
			<div><input type="text" name="ua_name" id="ua_name" required></div>
		</div>

		<div>
			<label class="desc" id="title1" for="ua_can_login">Be tud lépni:</label>
			<div><input type="checkbox" name="ua_can_login" id="ua_can_login"></div>
		</div>

		<div id="password">
			<label class="desc" id="title1" for="ua_password">Jelszó:</label>
			<div><input type="text" name="ua_password" id="ua_password"></div>
		</div>

		<div>
			<div>
		  		<input class="button black" type="submit" value="Létrehozás">
		    </div>
		</div>

	</form>
</div>


<script type="text/javascript">
	$( document ).ready(function() {
	    $("#password").hide();
	});

	$('#ua_can_login').click(function() {
	    $("#password").toggle(this.checked);
	});

</script>