add new properties to camp
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<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>
|
||||
@@ -39,28 +42,17 @@
|
||||
</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>
|
||||
<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="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>
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user