Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-akceDetail.latte--c6f90096f8.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceDetail.latte */ final class Templatec6f90096f8 extends Latte\Runtime\Template { public function main(): array { extract($this->params); $form = \app\form\Form::begin('', 'post', "akce-detail") /* line 1 */; echo '<div class="card rounded-0" style="max-width: 50rem;"> <div class="card-header rounded-0 bg-'; if ($model->id>0) /* line 3 */ { echo 'primary'; } else /* line 3 */ { echo 'success'; } echo ' text-white d-flex"> <div>'; if ($model->id > 0) /* line 4 */ { echo 'Editace výběru peněz'; } else /* line 4 */ { echo 'Nová akce výběru'; } echo '</div> <div id="zmena" class="ms-auto d-none bg-white px-1 text-danger">ZMĚNA</div> </div> <div class="card-body"> <div class="row"> <div class="col-12">'; echo $form->field($model, 'akce') /* line 10 */; echo '</div> <div class="col-6">'; echo $form->field($model, 'rok') /* line 11 */; echo '</div> <div class="col-6">'; echo $form->field($model, 'mesic')->changeType('TYPE_NUMBER') /* line 12 */; echo '</div> </div> </div> <div class="card-footer d-flex"> <button type="button" id="akce-detail-save" class="btn btn-primary rounded-0 ms-auto" >'; if ($model->id>0) /* line 16 */ { echo 'Uložit'; } else /* line 16 */ { echo 'Založit'; } echo '</button> </div> </div> '; echo $form->hidden($model, 'id') /* line 19 */; echo "\n"; echo $form->hidden($model, 'idrok') /* line 20 */; echo "\n"; echo $form::end($model) /* line 21 */; echo ' <script src="assets/js/akce.js"></script> '; return get_defined_vars(); } }