Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1618 Rev 1619
Línea 209... Línea 209...
209
                required: true,
209
                required: true,
210
            },
210
            },
211
            'email' :  {
211
            'email' :  {
212
                required: true,
212
                required: true,
213
            }
213
            }
-
 
214
            'status' : {
-
 
215
                required: true,
-
 
216
            },
214
        },
217
        },
215
        submitHandler: function(form)
218
        submitHandler: function(form)
216
        {
219
        {
217
            var formdata = false;
220
            var formdata = false;
218
            if (window.FormData){
221
            if (window.FormData){
Línea 551... Línea 554...
551
                    ?>
554
                    ?>
552
                    <div class="file-loading">
555
                    <div class="file-loading">
553
                    	<?php echo $this->formFile($element); ?>
556
                    	<?php echo $this->formFile($element); ?>
554
                    </div>
557
                    </div>
555
				</div>
558
				</div>
-
 
559
          		<div class="form-group">
-
 
560
    				<?php 
-
 
561
                        $element = $form->get('status');
-
 
562
                        $element->setAttributes(['class' => 'form-control']);
-
 
563
                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
564
                        echo $this->formLabel($element);
-
 
565
                        echo $this->formSelect($element);
-
 
566
                    ?>
-
 
567
				</div>
556
          	</div>          	
568
          	</div>          	
557
         	<div class="modal-footer">
569
         	<div class="modal-footer">
558
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
570
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
559
    			<button type="button" class="btn btn-default btn-add-cancel">LABEL_CANCEL</button>
571
    			<button type="button" class="btn btn-default btn-add-cancel">LABEL_CANCEL</button>
560
          	</div>
572
          	</div>
Línea 619... Línea 631...
619
                    ?>
631
                    ?>
620
                    <div class="file-loading">
632
                    <div class="file-loading">
621
                    	<?php echo $this->formFile($element); ?>
633
                    	<?php echo $this->formFile($element); ?>
622
                    </div>
634
                    </div>
623
				</div>
635
				</div>
-
 
636
 
-
 
637
          		<div class="form-group">
-
 
638
    				<?php 
-
 
639
                        $element = $form->get('status');
-
 
640
                        $element->setAttributes(['class' => 'form-control']);
-
 
641
                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
642
                        echo $this->formLabel($element);
-
 
643
                        echo $this->formSelect($element);
-
 
644
                    ?>
-
 
645
				</div>
624
          	</div>          	
646
          	</div>          	
625
         	<div class="modal-footer">
647
         	<div class="modal-footer">
626
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
648
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
627
    			<button type="button" class="btn btn-default btn-add-cancel">LABEL_CANCEL</button>
649
    			<button type="button" class="btn btn-default btn-add-cancel">LABEL_CANCEL</button>
628
          	</div>
650
          	</div>