Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16830 Rev 16831
Línea 409... Línea 409...
409
        		<h4 class="modal-title">LABEL_DEGREES - <span id="form-title"></span></h4>
409
        		<h4 class="modal-title">LABEL_DEGREES - <span id="form-title"></span></h4>
410
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
410
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
411
      		</div>
411
      		</div>
Línea 412... Línea 412...
412
 
412
 
413
            <!-- Modal body -->
-
 
414
      		<div class="modal-body">
413
            <!-- Modal body -->
415
       			 <?php 
414
            <?php 
416
                    $form = $this->form;
415
                    $form = $this->form;
417
            		$form->setAttributes([
416
            		$form->setAttributes([
418
                        'method'    => 'post',
417
                        'method'    => 'post',
419
                        'name'      => 'form',
418
                        'name'      => 'form',
420
                        'id'        => 'form'
419
                        'id'        => 'form'
Línea 421... Línea 420...
421
                    ]);
420
                    ]);
422
    
421
    
423
                    $form->prepare();
422
                    $form->prepare();
-
 
423
                    echo $this->form()->openTag($form);
-
 
424
                    ?>	
-
 
425
 
424
                    echo $this->form()->openTag($form);
426
      		<div class="modal-body">
-
 
427
       							
425
                    ?>					
428
    					<div class="row">
426
    					<div class="form-group">
429
                            <div class="col-12 mb-3 mr-3">
427
        					<?php 
430
        					<?php 
428
                            $element = $form->get('name');
431
                            $element = $form->get('name');
Línea 429... Línea 432...
429
                            $element->setOptions(['label' => 'LABEL_NAME']);
432
                            $element->setOptions(['label' => 'LABEL_NAME']);
430
                            $element->setAttributes(['class' => 'form-control']); 
433
                            $element->setAttributes(['class' => 'form-control']); 
431
                                            
434
                                            
-
 
435
                            echo $this->formLabel($element);
432
                            echo $this->formLabel($element);
436
                            echo $this->formText($element);
433
                            echo $this->formText($element);
437
                            ?>
-
 
438
                            </div>
434
                            ?>
439
						</div>
435
						</div>
440
						<div class="row">
436
						<div class="form-group">
441
                            <div class="col-12 mb-3 mr-3">
437
                    	<?php 
442
                    	<?php 
Línea 438... Línea 443...
438
                            $element = $form->get('description');
443
                            $element = $form->get('description');
439
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
444
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
440
                            $element->setAttributes(['class' => 'form-control']); 
445
                            $element->setAttributes(['class' => 'form-control']); 
-
 
446
 
441
 
447
                            echo $this->formLabel($element);
442
                            echo $this->formLabel($element);
448
                            echo $this->formTextArea($element);
-
 
449
                        ?>
443
                            echo $this->formTextArea($element);
450
                            </div>
444
                        ?>
451
						</div>
445
						</div>
452
						<div class="row">
446
						<div class="form-group">
453
                            <div class="col-12 mb-3 mr-3">
-
 
454
                      	<?php 
447
                      	<?php 
455
                            $element = $form->get('status');
Línea 448... Línea -...
448
                            $element = $form->get('status');
-
 
449
                            echo $this->formCheckbox($element);
-
 
450
                        ?>
-
 
451
						</div>
-
 
452
								
-
 
-
 
456
                            echo $this->formCheckbox($element);
-
 
457
                        ?>
-
 
458
                            </div>
453
        				<div class="form-group">
459
						</div>
Línea 454... Línea 460...
454
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
460
								
455
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
461
 
-
 
462
                    
456
                   		</div>
463
     	      		
457
     	      		<?php echo $this->form()->closeTag($form); ?>
464
      		</div>
-
 
465
 
Línea 458... Línea 466...
458
      		</div>
466
            <!-- Modal footer -->
459
 
467
      		<div class="modal-footer">
460
            <!-- Modal footer -->
468
              <button type="submit" class="btn btn-primary">LABEL_SAVE</button>