Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 28 Rev 47
Línea 487... Línea 487...
487
                        'id'        => 'form'
487
                        'id'        => 'form'
488
                    ]);
488
                    ]);
Línea 489... Línea 489...
489
    
489
    
490
                    $form->prepare();
490
                    $form->prepare();
491
                    echo $this->form()->openTag($form);
491
                    echo $this->form()->openTag($form);
-
 
492
                    ?>
492
                    ?>				
493
                        <div
493
                     	<div class="form-group">
494
                            class="row"
-
 
495
                        >
-
 
496
                            <div class="col-md col-sm-12 col-12">
-
 
497
                                <div class="form-group">
494
        					<?php 
498
                                   <?php 
495
                            $element = $form->get('competency_type_id');
499
                                   $element = $form->get('competency_type_id');
496
                            $element->setOptions(['label' => 'LABEL_TYPE']);
500
                                   $element->setOptions(['label' => 'LABEL_TYPE']);
497
                                            
501
                                                   
498
                            echo $this->formLabel($element);
502
                                   echo $this->formLabel($element);
499
                            echo $this->formSelect($element);
503
                                   echo $this->formSelect($element);
-
 
504
                                   ?>
500
                            ?>
505
                               </div>	
-
 
506
                            </div>
501
						</div>			
507
                            <div class="col-md col-sm-12 col-12">
502
    					<div class="form-group">
508
                                <div class="form-group">
503
        					<?php 
509
                                    <?php 
504
                            $element = $form->get('name');
510
                                    $element = $form->get('name');
505
                            $element->setOptions(['label' => 'LABEL_NAME']);
511
                                    $element->setOptions(['label' => 'LABEL_NAME']);
506
                            $element->setAttributes(['class' => 'form-control']); 
512
                                    $element->setAttributes(['class' => 'form-control']); 
507
                                            
513
                                                    
508
                            echo $this->formLabel($element);
514
                                    echo $this->formLabel($element);
-
 
515
                                    echo $this->formText($element);
-
 
516
                                    ?>
-
 
517
                                </div>
-
 
518
                            </div>
-
 
519
                            <div
509
                            echo $this->formText($element);
520
                                class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center"
-
 
521
                            >
-
 
522
                                <div class="form-group m-0">
-
 
523
                                    <label>LABEL_STATUS</label>
-
 
524
                                    <br />
-
 
525
                                    <?php 
-
 
526
                                        $element = $form->get('status');
-
 
527
                                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
528
                                        // echo $this->formLabel($element);
-
 
529
                                        echo $this->formCheckbox($element);
-
 
530
                                    ?>
-
 
531
                                </div>
510
                            ?>
532
                            </div>
511
						</div>
533
                        </div>		
512
						<div class="form-group">
534
						<div class="form-group">
513
                    	<?php 
535
                    	<?php 
514
                            $element = $form->get('description');
536
                            $element = $form->get('description');
515
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
537
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
Línea 528... Línea 550...
528
 
550
 
529
                            echo $this->formLabel($element);
551
                            echo $this->formLabel($element);
530
                            echo $this->formTextArea($element);
552
                            echo $this->formTextArea($element);
531
                        ?>
553
                        ?>
532
						</div>
-
 
533
						
-
 
534
						
-
 
535
						<div class="form-group">
-
 
536
                      	<?php 
-
 
537
                            $element = $form->get('status');
-
 
538
                            echo $this->formCheckbox($element);
-
 
539
                        ?>
-
 
Línea 540... Línea 554...
540
						</div>
554
						</div>
541
								
555
								
542
        				<div class="form-group">
556
        				<div class="form-group">
543
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
557
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>