<div class="form_wrapper">
	<form method="post">
		<input type="hidden" name="action" value="camp_create">

		<div>
			<label class="desc" for="camp_city">Helyszín:</label>
			<div><input type="text" name="camp_city" id="camp_city" required></div>
		</div>
		<div>
			<label class="desc" for="camp_from">Tábor kezdete:</label>
			<div><input type="text" name="camp_from" id="camp_from" required></div>
		</div>
		<div>
			<label class="desc" for="camp_to">Tábor vége:</label>
			<div><input type="text" name="camp_to" id="camp_to" required></div>
		</div>
		<div>
			<label class="desc" for="camp_leader">Táborvezető:</label>
			<div><input type="text" name="camp_leader" id="camp_leader"></div>
		</div>
		<div>
			<label class="desc" for="camp_helpers">Segítők:</label>
			<div><input type="text" name="camp_helpers" id="camp_helpers"></div>
		</div>
		<div>
			<label class="desc" for="camp_is_open">Lehet jelentkezni:</label>
			<div><input type="checkbox" name="camp_is_open" id="camp_is_open" value="1" checked></div>
		</div>
		<div>
			<label class="desc" for="camp_camp_type_ct_id">Típus:</label>
			<div>
				<select name="camp_camp_type_ct_id" id="camp_camp_type_ct_id">
					{foreach $camp_type_array as $camp_type}
						<option value="{$camp_type->get_ct_id()}">
							{$camp_type->get_ct_name()}
						</option>
					{/foreach}
				</select>
			</div>
		</div>
		<div>
			<label class="desc" for="shuttles">Labda típus:</label>
			<table>
				{foreach $shuttle_array as $shuttle}
				<tr>
					<td><input type="checkbox" name="shuttles[]" value="{$shuttle->get_cst_id()}" class="coach_type"></td>
					<td class="coach">{$shuttle->get_cst_name()}</td>
				</tr>
				{/foreach}
			</table>
		</div>
		<div>
			<label class="desc" for="shuttles">Bejárás típusa:</label>
				<table>
				{foreach $accomodation_array as $accomodation}
				<tr>
					<td><input type="checkbox" name="accomodations[]" value="{$accomodation->get_cat_id()}" class="coach_type"></td>
					<td class="coach">{$accomodation->get_cat_name()}</td>
				</tr>
				{/foreach}
				</table>
		</div>
		
		<div>
			<div>
		  		<input class="button black" type="submit" value="Létrehozás">
		    </div>
		</div>

	</form>
</div>