<div class="form_wrapper">
    <form method="post">
        <input type="hidden" name="action" value="camp_create">
        <div>
            <label class="desc" for="camp_name">Tábor neve / típusa:</label>
            <div><input type="text" name="camp_name" id="camp_name" required></div>
        </div>
        <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" class="datepicker" 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" class="datepicker" 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="camp_count">Létszám:</label>
            <div><input type="number" name="camp_count" id="camp_count" min="1"></div>
        </div>
        <div>
            <label class="desc" for="camp_price">Ár:</label>
            <div><input type="number" name="camp_price" id="camp_price" min="0"></div>
        </div>
        <div>
            <label class="desc" for="camp_info">Tábor információk:</label>
            <div><textarea rows="7" name="camp_info" id="camp_info"></textarea></div>
        </div>
        <div>
            <div>
                <input class="button black" type="submit" value="Létrehozás">
            </div>
        </div>

    </form>
</div>
