Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 5189 | Rev 5206 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5189 Rev 5194
Línea 383... Línea 383...
383
$this->inlineScript()->appendFile('/react-bundles/settings/company-sizes/companySizesBundle.js');
383
$this->inlineScript()->appendFile('/react-bundles/settings/company-sizes/companySizesBundle.js');
384
?>
384
?>
Línea 385... Línea 385...
385
 
385
 
386
<!-- Content Header (Page header) -->
386
<!-- Content Header (Page header) -->
387
<div id="company-sizes">
-
 
388
</div>
-
 
389
 
-
 
390
<!-- The Modal -->
-
 
391
<div class="modal" id="modal">
-
 
392
    <div class="modal-dialog  modal-xl">
-
 
393
        <div class="modal-content">
-
 
394
 
-
 
395
            <!-- Modal Header -->
-
 
396
            <div class="modal-header">
-
 
397
                <h4 class="modal-title">LABEL_COMPANY_SIZES - <span id="form-title"></span></h4>
-
 
398
                <button type="button" class="close" data-dismiss="modal">&times;</button>
-
 
399
            </div>
-
 
400
 
-
 
401
            <!-- Modal body -->
-
 
402
            <div class="modal-body">
-
 
403
                <?php
-
 
404
                $form = $this->form;
-
 
405
                $form->setAttributes([
-
 
406
                    'method'    => 'post',
-
 
407
                    'name'      => 'form',
-
 
408
                    'id'        => 'form'
-
 
409
                ]);
-
 
410
 
-
 
411
                $form->prepare();
-
 
412
                echo $this->form()->openTag($form);
-
 
413
                ?>
-
 
414
                <div class="form-group">
-
 
415
                    <?php
-
 
416
                    $element = $form->get('name');
-
 
417
                    $element->setOptions(['label' => 'LABEL_NAME']);
-
 
418
                    $element->setAttributes(['class' => 'form-control']);
-
 
419
 
-
 
420
                    echo $this->formLabel($element);
-
 
421
                    echo $this->formText($element);
-
 
422
                    ?>
-
 
423
                </div>
-
 
424
                <div class="form-group">
-
 
425
                    <?php
-
 
426
                    $element = $form->get('minimum_no_of_employee');
-
 
427
                    $element->setOptions(['label' => 'LABEL_MINIMUM']);
-
 
428
                    $element->setAttributes(['class' => 'form-control']);
-
 
429
 
-
 
430
                    echo $this->formLabel($element);
-
 
431
                    echo $this->formText($element);
-
 
432
                    ?>
-
 
433
                </div>
-
 
434
                <div class="form-group">
-
 
435
                    <?php
-
 
436
                    $element = $form->get('maximum_no_of_employee');
-
 
437
                    $element->setOptions(['label' => 'LABEL_MAXIMUM']);
-
 
438
                    $element->setAttributes(['class' => 'form-control']);
-
 
439
 
-
 
440
                    echo $this->formLabel($element);
-
 
441
                    echo $this->formText($element);
-
 
442
                    ?>
-
 
443
                </div>
-
 
444
                <div class="form-group">
-
 
445
                    <?php
-
 
446
                    $element = $form->get('status');
-
 
447
                    echo $this->formCheckbox($element);
-
 
448
                    ?>
-
 
449
                </div>
-
 
450
 
-
 
451
                <div class="form-group">
-
 
452
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
453
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
454
                </div>
-
 
455
                <?php echo $this->form()->closeTag($form); ?>
-
 
456
            </div>
-
 
457
 
-
 
458
            <!-- Modal footer -->
-
 
459
            <div class="modal-footer">
-
 
460
                <button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
-
 
461
            </div>
-
 
462
 
-
 
463
        </div>
-
 
464
    </div>
387
<div id="company-sizes">
465
</div>
388
</div>