53 lines
1.5 KiB
Smarty
53 lines
1.5 KiB
Smarty
<div class="form_wrapper">
|
|
<form method="post">
|
|
<input type="hidden" name="action" id="action" value="training_data_create">
|
|
|
|
|
|
<div>
|
|
<label class="desc" id="title1" for="tr_date">Dátum:</label>
|
|
<div><input type="text" name="tr_date" id="tr_date" title="ÉÉÉÉ-HH-NN ÓÓ:PP" placeholder="ÉÉÉÉ-HH-NN ÓÓ:PP" required></div>
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<label class="desc" id="title2" for="tr_training_type_trt_id">Típus:</label>
|
|
<div>
|
|
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
|
|
<option value="null"> - </option>
|
|
{foreach $training_type_assoc_array as $training_type_array}
|
|
<option value="{$training_type_array.trt_id}">
|
|
{$training_type_array.trt_name}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<label class="desc" id="title1" for="tr_duration">Időtartam (perc):</label>
|
|
<div><input type="text" name="tr_duration" id="tr_duration" required></div>
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<label class="desc" id="title1" for="every_week">Minden héten ebben az időpontban: (az adott hónapban)</label>
|
|
<div><input type="checkbox" name="every_week" id="every_week" value="1"></div>
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<label class="desc" id="title1" for="coaches">Edző(k):</label>
|
|
{foreach $coach_array as $coach}
|
|
<div>
|
|
<input type="checkbox" name="coaches[]" value="{$coach->get_ua_id()}">{$coach->get_ua_name()}
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
|
|
<div>
|
|
<div>
|
|
<input class="button black" type="submit" value="Létrehozás">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div> |