Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8974 Rev 8980
Línea 783... Línea 783...
783
                required: true,
783
                required: true,
784
                minlength: 2,
784
                minlength: 2,
785
                maxlength: 50
785
                maxlength: 50
786
            },
786
            },
787
            'section_text': {
787
            'section_text': {
-
 
788
                updateCkeditor:function() {
-
 
789
                    CKEDITOR.instances.section_text.updateElement();
-
 
790
                },
788
                required: false,
791
                required: false,
789
            },
792
            },
790
        },
793
        },
791
        highlight: function(element) {
794
        highlight: function(element) {
792
            $(element).closest('.form-group').addClass('has-error');
795
            $(element).closest('.form-group').addClass('has-error');
Línea 1553... Línea 1556...
1553
                        <div class="form-group">
1556
                        <div class="form-group">
1554
                            <label for="section-name">LABEL_FIRST_NAME</label>
1557
                            <label for="section-name">LABEL_FIRST_NAME</label>
1555
                            <input type="text" name="section-name" id="section-name" class="form-control" maxlength="50" value="" />
1558
                            <input type="text" name="section-name" id="section-name" class="form-control" maxlength="50" value="" />
1556
                        </div>
1559
                        </div>
1557
                        <div class="form-group">
1560
                        <div class="form-group">
-
 
1561
                            <?php
-
 
1562
                            	$element = $form->get('section_text');
1558
                            <label for="section_text">LABEL_TEXT</label>
1563
                            	$element->setOptions(['label' => 'LABEL_TEXT']);
-
 
1564
                            	$element->setAttributes(['class' => 'form-control']);
1559
                            <!--  ckeditor -->
1565
                            	echo $this->formLabel($element);
1560
                            <textarea  name="section_text" id="section_text" rows="5" class="ckeditor form-control"></textarea>
1566
                            	echo $this->formTextArea($element);
-
 
1567
                            ?>
1561
                        </div>
1568
                        </div>
1562
                    </div>
1569
                    </div>
1563
                    <div class="modal-footer">
1570
                    <div class="modal-footer">
1564
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1571
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1565
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1572
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>