Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 13335 Rev 16805
Línea 411... Línea 411...
411
    return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
411
    return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
412
}
412
}
413
jQuery(document).ready(function($) {
413
jQuery(document).ready(function($) {
414
    var objFormGenerator = new classFormGenerator();
414
    var objFormGenerator = new classFormGenerator();
415
    objFormGenerator.render();
415
    objFormGenerator.render();
-
 
416
 
-
 
417
 
416
    var allowEdit = $allowEdit;
418
    var allowEdit = $allowEdit;
417
    var allowDelete = $allowDelete;
419
    var allowDelete = $allowDelete;
418
    /**
420
    /**
419
     * Get rows and set data table
421
     * Get rows and set data table
420
     */
422
     */
Línea 510... Línea 512...
510
        },
512
        },
511
        'aoColumns': [{
513
        'aoColumns': [{
512
                'mDataProp': 'name'
514
                'mDataProp': 'name'
513
            },
515
            },
514
            {
516
            {
515
                'mDataProp': 'description'
-
 
516
            },
-
 
517
            {
-
 
518
                'mDataProp': 'status'
517
                'mDataProp': 'status'
519
            },
518
            },
520
            {
519
            {
521
                'mDataProp': 'actions'
520
                'mDataProp': 'actions'
522
            },
521
            },
Línea 524... Línea 523...
524
        'columnDefs': [{
523
        'columnDefs': [{
525
                'targets': 0,
524
                'targets': 0,
526
                'className': 'text-vertical-middle',
525
                'className': 'text-vertical-middle',
527
            },
526
            },
528
            {
527
            {
529
                'targets': 1,
-
 
530
                'className': 'text-vertical-middle',
-
 
531
            },
-
 
532
            {
-
 
533
                'targets': -2,
528
                'targets': -2,
534
                'orderable': false,
529
                'orderable': false,
535
                'className': 'text-center',
530
                'className': 'text-center',
536
                'render': function(data, type, row) {
531
                'render': function(data, type, row) {
537
                    checked = data == 'A' ? ' checked="checked" ' : '';
532
                    checked = data == 'A' ? ' checked="checked" ' : '';
Línea 1336... Línea 1331...
1336
    $('button.btn-refresh').click(function(e) {
1331
    $('button.btn-refresh').click(function(e) {
1337
        tableForm.fnDraw();
1332
        tableForm.fnDraw();
1338
    });
1333
    });
Línea 1339... Línea 1334...
1339
 
1334
 
1340
    CKEDITOR.replace('description', {
1335
    CKEDITOR.replace('description', {
1341
				toolbar: [
1336
                                toolbar: [
1342
					{ name: 'editing', items: ['Scayt'] },
1337
                                        { name: 'editing', items: ['Scayt'] },
1343
					{ name: 'links', items: ['Link', 'Unlink'] },
1338
                                        { name: 'links', items: ['Link', 'Unlink'] },
1344
					{ name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
1339
                                        { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
1345
					{ name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
1340
                                        { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
1346
					'/',
1341
                                        '/',
1347
					{ name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
1342
                                        { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
1348
					{ name: 'styles', items: ['Styles', 'Format'] },
1343
                                        { name: 'styles', items: ['Styles', 'Format'] },
1349
					{ name: 'tools', items: ['Maximize'] }
1344
                                        { name: 'tools', items: ['Maximize'] }
1350
				],
1345
                                ],
1351
				removePlugins: 'elementspath,Anchor',
1346
                                removePlugins: 'elementspath,Anchor',
1352
				heigth: 100
1347
                                heigth: 100
1353
			});
1348
                        });
1354
    CKEDITOR.replace('text', {
1349
    CKEDITOR.replace('text', {
1355
				toolbar: [
1350
                                toolbar: [
1356
					{ name: 'editing', items: ['Scayt'] },
1351
                                        { name: 'editing', items: ['Scayt'] },
1357
					{ name: 'links', items: ['Link', 'Unlink'] },
1352
                                        { name: 'links', items: ['Link', 'Unlink'] },
1358
					{ name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
1353
                                        { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
1359
					{ name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
1354
                                        { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
1360
					'/',
1355
                                        '/',
1361
					{ name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
1356
                                        { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
1362
					{ name: 'styles', items: ['Styles', 'Format'] },
1357
                                        { name: 'styles', items: ['Styles', 'Format'] },
1363
					{ name: 'tools', items: ['Maximize'] }
1358
                                        { name: 'tools', items: ['Maximize'] }
1364
				],
1359
                                ],
1365
				removePlugins: 'elementspath,Anchor',
1360
                                removePlugins: 'elementspath,Anchor',
1366
				heigth: 100
1361
                                heigth: 100
Línea 1367... Línea 1362...
1367
			});
1362
                        });
1368
     
1363
     
1369
});
1364
});
-
 
1365
JS;
Línea -... Línea 1366...
-
 
1366
$this->inlineScript()->captureEnd();
-
 
1367
?>
-
 
1368
 
-
 
1369
<!-- Content Header (Page header) -->
-
 
1370
<section class="content-header">
-
 
1371
    <div class="container-fluid">
-
 
1372
        <div class="row mb-2">
-
 
1373
            <div class="col-sm-12">
1370
JS;
1374
                <h1>LABEL_SELF_EVALUATION_FORMS</h1>
1371
$this->inlineScript()->captureEnd();
1375
            </div>
-
 
1376
        </div>
1372
 
1377
    </div>
-
 
1378
    <!-- /.container-fluid -->
1373
$js = <<<JS
1379
</section>
-
 
1380
<section class="content">
-
 
1381
    <div class="container-fluid" id="row-forms">
-
 
1382
        <div class="row">
-
 
1383
            <div class="col-12">
-
 
1384
                <div class="card">
-
 
1385
                    <div class="card-body">
-
 
1386
                        <table id="gridTable" class="table   table-hover">
-
 
1387
                            <thead>
-
 
1388
                                <tr>
-
 
1389
                                    <th>LABEL_NAME</th>
-
 
1390
                                    <th>LABEL_ACTIVE</th>
-
 
1391
                                    <th>LABEL_ACTIONS</th>
1374
	const backendVariables= {
1392
                                </tr>
1375
		dashboard_link: "$routeDashboard",
1393
                            </thead>
-
 
1394
                            <tbody></tbody>
-
 
1395
                        </table>
-
 
1396
                    </div>
-
 
1397
                    <div class="card-footer clearfix">
-
 
1398
                        <div style="float:right;">
-
 
1399
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
1376
        add_link: "$routeAdd",
1400
                            <?php if ($allowAdd) : ?>
1377
        table_link: "$routeDatatable",
1401
                                <button type="button" class="btn btn-primary btn-add-form"><i class="fa fa-plus"></i> LABEL_ADD </button>
1378
        permisions: {
1402
                            <?php endif; ?>
-
 
1403
                        </div>
1379
            allowAdd: $allowAdd,
1404
                    </div>
1380
            allowEdit: $allowEdit,
-
 
1381
            allowDelete: $allowDelete
1405
                </div>
Línea -... Línea 1406...
-
 
1406
            </div>
-
 
1407
        </div>
-
 
1408
    </div>
-
 
1409
 
-
 
1410
    <!-- Create/Edit Form -->
-
 
1411
 
-
 
1412
    <div class="row" id="row-edit" style="display: none">
-
 
1413
        <div class="col-xs-12 col-md-12">
-
 
1414
            <form action="#" name="form-main" id="form-main">
-
 
1415
                <input type="hidden" name="form-id" id="form-id" value="0" />
-
 
1416
                <input type="hidden" name="form-continue" id="form-continue" value="0" />
-
 
1417
                <?php
-
 
1418
                //$form = $this->formAdd;
-
 
1419
                $form->setAttributes([
-
 
1420
                    'method' => 'post',
-
 
1421
                    'name' => 'form-main',
-
 
1422
                    'action' => $routeAdd,
-
 
1423
                    'id' => 'form-main'
-
 
1424
                ]);
-
 
1425
                $form->prepare();
-
 
1426
                echo $this->form()->openTag($form);
-
 
1427
                ?>
-
 
1428
                <div class="form-group">
-
 
1429
                    <?php
-
 
1430
                    $element = $form->get('name');
-
 
1431
                    $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
-
 
1432
                    $element->setAttributes(['class' => 'form-control']);
-
 
1433
                    echo $this->formLabel($element);
-
 
1434
                    echo $this->formText($element);
-
 
1435
                    ?>
-
 
1436
                </div>
-
 
1437
                <div class="form-group">
-
 
1438
                    <?php
-
 
1439
                    $element = $form->get('description');
-
 
1440
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
1441
                    $element->setAttributes(['class' => 'form-control']);
-
 
1442
                    echo $this->formLabel($element);
-
 
1443
                    echo $this->formTextArea($element);
-
 
1444
                    ?>
-
 
1445
                </div>
-
 
1446
                <div class="form-group">
-
 
1447
                    <?php
-
 
1448
                    $element = $form->get('text');
-
 
1449
                    $element->setOptions(['label' => 'LABEL_TEXT']);
-
 
1450
                    $element->setAttributes(['class' => 'form-control']);
-
 
1451
                    echo $this->formLabel($element);
-
 
1452
                    echo $this->formTextArea($element);
-
 
1453
                    ?>
-
 
1454
                </div>
-
 
1455
                <div class="form-group">
-
 
1456
                    <?php
-
 
1457
                    $element = $form->get('status');
-
 
1458
                    $element->setAttributes(['class' => 'form-control']);
-
 
1459
                    $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
1460
                    echo $this->formLabel($element);
-
 
1461
                    echo $this->formSelect($element);
-
 
1462
                    ?>
-
 
1463
                </div>
-
 
1464
                <br />
-
 
1465
                <div class="row">
-
 
1466
                    <div class="col-xs-12 col-md-12 text-right">
-
 
1467
                        <button class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION</button>
-
 
1468
                    </div>
-
 
1469
                </div>
-
 
1470
                <br />
-
 
1471
                <div class="row">
-
 
1472
                    <div class="col-xs-12 col-md-12">
-
 
1473
                        <div class="panel-group" id="rows"></div>
-
 
1474
                    </div>
-
 
1475
                </div>
-
 
1476
                <div class="form-group">
-
 
1477
                    <button type="submit" form="form-main" class="btn btn-info btn-form-save-continue">LABEL_SAVE & LABEL_CONTINUE</button>
-
 
1478
                    <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE & LABEL_CLOSE</button>
-
 
1479
                    <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
-
 
1480
                </div>
-
 
1481
            </form>
-
 
1482
        </div>
-
 
1483
    </div>
-
 
1484
 
-
 
1485
    <!-- Create/Edit Form-->
-
 
1486
 
-
 
1487
    <!-- Section Modal -->
-
 
1488
    <div id="modal-section" class="modal" tabindex="-1" role="dialog">
-
 
1489
        <div class="modal-dialog modal-lg" role="document">
-
 
1490
            <form action="#" name="form-section" id="form-section">
-
 
1491
                <input type="hidden" name="section-slug" id="section-slug" value="" />
-
 
1492
                <div class="modal-content">
-
 
1493
                    <div class="modal-header">
-
 
1494
                        <h4 class="modal-title">LABEL_ADD LABEL_SECTION</h4>
-
 
1495
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
1496
                            <span aria-hidden="true">&times;</span>
-
 
1497
                        </button>
-
 
1498
                    </div>
-
 
1499
                    <div class="modal-body">
-
 
1500
                        <div class="form-group">
-
 
1501
                            <label for="section-name">LABEL_FIRST_NAME</label>
-
 
1502
                            <input type="text" name="section-name" id="section-name" class="form-control" maxlength="50" value="" />
-
 
1503
                        </div>
-
 
1504
                        <div class="form-group">
-
 
1505
                            <label for="section-text">LABEL_TEXT</label>
-
 
1506
                            <!--  ckeditor -->
-
 
1507
                            <textarea name="section-text" id="section-text" rows="5" class="ckeditor form-control"></textarea>
-
 
1508
                        </div>
-
 
1509
                    </div>
-
 
1510
                    <div class="modal-footer">
-
 
1511
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1512
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
-
 
1513
                    </div>
-
 
1514
                </div>
-
 
1515
            </form>
-
 
1516
        </div>
-
 
1517
    </div>
-
 
1518
    <!-- End Modal Section -->
-
 
1519
 
-
 
1520
    <!-- Question Modal -->
-
 
1521
 
-
 
1522
    <div id="modal-question" class="modal" tabindex="-1" role="dialog">
-
 
1523
        <div class="modal-dialog modal-lg" role="document">
-
 
1524
            <form action="#" name="form-question" id="form-question">
-
 
1525
                <input type="hidden" name="question-section" id="question-section" />
-
 
1526
                <input type="hidden" name="question-slug" id="question-slug" />
-
 
1527
                <div class="modal-content">
-
 
1528
                    <div class="modal-header">
-
 
1529
                        <h4 class="modal-title">LABEL_ADD LABEL_QUESTION</h4>
-
 
1530
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
1531
                            <span aria-hidden="true">&times;</span>
-
 
1532
                        </button>
-
 
1533
                    </div>
-
 
1534
                    <div class="modal-body">
-
 
1535
                        <div class="form-group">
-
 
1536
                            <label for="question-text">LABEL_TEXT</label>
-
 
1537
                            <!--  ckeditor -->
-
 
1538
                            <textarea name="question-text" id="question-text" rows="5" class="ckeditor form-control"></textarea>
-
 
1539
                        </div>
-
 
1540
                        <div class="form-group">
-
 
1541
                            <label for="question-type">LABEL_TYPE</label>
-
 
1542
                            <select name="question-type" id="question-type" class="form-control">
-
 
1543
                                <option value="open">LABEL_OPEN</option>
-
 
1544
                                <option value="simple">Simple</option>
-
 
1545
                                <option value="multiple">Multiple</option>
-
 
1546
 
-
 
1547
                            </select>
-
 
1548
                        </div>
-
 
1549
                        <div class="form-group">
-
 
1550
                            <label for="question-max-length">LABEL_MAXLENGTH</label>
-
 
1551
                            <input type="text" name="question-max-length" id="question-max-length" class="form-control" />
-
 
1552
                        </div>
-
 
1553
                        <div class="form-group">
-
 
1554
                            <label for="question-multiline">LABEL_MULTI_LINE</label>
-
 
1555
                            <select name="question-multiline" id="question-multiline" class="form-control">
-
 
1556
                                <option value="1">LABEL_YES</option>
-
 
1557
                                <option value="0">LABEL_NOT</option>
-
 
1558
                            </select>
-
 
1559
                        </div>
-
 
1560
                        <div class="form-group">
-
 
1561
                            <label for="question-range">LABEL_RANGE</label>
-
 
1562
                            <select name="question-range" id="question-range" class="form-control">
-
 
1563
                                <option value="10">1-10</option>
-
 
1564
                                <option value="6">1-6</option>
-
 
1565
                                <option value="5">1-5</option>
-
 
1566
                            </select>
-
 
1567
                        </div>
-
 
1568
                    </div>
-
 
1569
                    <div class="modal-footer">
-
 
1570
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1571
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
-
 
1572
                    </div>
-
 
1573
                </div>
-
 
1574
            </form>
-
 
1575
        </div>
-
 
1576
    </div>
-
 
1577
 
-
 
1578
    <!-- End Modal Question -->
-
 
1579
 
-
 
1580
    <!-- Modal Options -->
-
 
1581
 
-
 
1582
    <div id="modal-option" class="modal" tabindex="-1" role="dialog">
-
 
1583
        <div class="modal-dialog modal-lg" role="document">
-
 
1584
            <form action="#" name="form-option" id="form-option">
-
 
1585
                <input type="hidden" name="option-section" id="option-section" value="" />
-
 
1586
                <input type="hidden" name="option-question" id="option-question" value="" />
-
 
1587
                <input type="hidden" name="option-slug" id="option-slug" value="" />
-
 
1588
                <div class="modal-content">
-
 
1589
                    <div class="modal-header">
-
 
1590
                        <h4 class="modal-title">LABEL_OPTION</h4>
-
 
1591
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
1592
                            <span aria-hidden="true">&times;</span>
-
 
1593
                        </button>
-
 
1594
                    </div>
-
 
1595
                    <div class="modal-body">
-
 
1596
                        <div class="form-group">
-
 
1597
                            <label for="option-text">LABEL_TEXT</label>
-
 
1598
                            <!--  ckeditor -->
-
 
1599
                            <textarea name="option-text" id="option-text" rows="5" class="ckeditor form-control"></textarea>
-
 
1600
                        </div>
-
 
1601
                    </div>
-
 
1602
                    <div class="modal-footer">
-
 
1603
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1604
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
-
 
1605
                    </div>
-
 
1606
                </div>
-
 
1607
            </form>
-
 
1608
        </div>
-
 
1609
    </div>
-
 
1610
 
-
 
1611
    <!-- End Modal Options -->
-
 
1612
 
-
 
1613
    <!---Template Sections --->
-
 
1614
    <script id="sectionTemplate" type="text/x-jsrender">
-
 
1615
        <div class="panel panel-default" id="panel-{{:slug_section}}">
-
 
1616
        <div class="panel-heading">
-
 
1617
            <h4 class="panel-title">
-
 
1618
                <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:slug_section}}" href="#collapse-{{:slug_section}}">
-
 
1619
                    <span class="section-name{{:slug_section}}">
-
 
1620
                        {{:name}}
-
 
1621
                    </span>
-
 
1622
                </a>
-
 
1623
            </h4>
-
 
1624
        </div>
-
 
1625
        <div id="collapse-{{:slug_section}}" class="panel-collapse in collapse show">
-
 
1626
            <div class="panel-body">
-
 
1627
                <div class="table-responsive">
-
 
1628
                    <table class="table table-bordered">
-
 
1629
                        <thead>
-
 
1630
                            <tr>
-
 
1631
                                <th style="width: 10%;">LABEL_ELEMENT</th>
-
 
1632
                                <th style="width: 50%;">LABEL_TEXT</th>
-
 
1633
                                <th style="width: 10%;">LABEL_TYPE</th>
-
 
1634
                                <th style="width: 20%;">LABEL_ACTIONS</th>
-
 
1635
                            </tr>
-
 
1636
                        </thead>
-
 
1637
                        <tbody>
-
 
1638
                            <tr class="tr-section">
-
 
1639
                                <td class="text-left">LABEL_SECTION</td>
-
 
1640
                                <td class="text-left">{{:name}}</td>
-
 
1641
                                <td></td>
-
 
1642
                                <td>
-
 
1643
                                    <button class="btn btn-default btn-edit-section" data-section="{{:slug_section}}" data-toggle="tooltip"  data-original-title="LABEL_EDIT LABEL_SECTION"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT LABEL_SECTION </button>
-
 
1644
                                    <button class="btn btn-default btn-delete-section" data-section="{{:slug_section}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE LABEL_SECTION"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_SECTION </button>
-
 
1645
                                    <button class="btn btn-default btn-add-question" data-section="{{:slug_section}}" data-toggle="tooltip"  data-original-title="LABEL_ADD  LABEL_QUESTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD  LABEL_QUESTION </button>
-
 
1646
                                </td>
-
 
1647
                            </tr>
-
 
1648
                            {{for questions}}
-
 
1649
                            <tr class="tr-question">
-
 
1650
                                <td class="text-left">--LABEL_QUESTION</td>
-
 
1651
                                <td class="text-left">
-
 
1652
                                    {{:~removeTags(text)}}
-
 
1653
                                </td>
-
 
1654
                                <td class="text-capitalize">
-
 
1655
                                    {{if type == 'open'}} LABEL_OPEN {{/if}}
1382
        }
1656
                                    {{if type == 'simple'}} Simple {{/if}}
1383
	}	
1657
                                    {{if type == 'multiple'}} Multiple {{/if}}
-
 
1658
                                </td>
-
 
1659
                                <td>
-
 
1660
                                    <button class="btn btn-default btn-edit-question" data-section="{{:slug_section}}" data-question="{{:slug_question}}" data-toggle="tooltip"  data-original-title="LABEL_EDIT LABEL_QUESTION"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT LABEL_QUESTION</button>
-
 
1661
                                    <button class="btn btn-default btn-delete-question" data-section="{{:slug_section}}" data-question="{{:slug_question}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE LABEL_QUESTION"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_QUESTION</button>
-
 
1662
                                 
-
 
1663
                                    {{if type == 'simple' || type == 'rating-open' || type=='multiple' }}
-
 
1664
                                    <button class="btn btn-default btn-add-option" data-section="{{:slug_section}}" data-question="{{:slug_question}}" data-toggle="tooltip"  data-original-title="LABEL_ADD  LABEL_OPTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD  LABEL_OPTION</button>
-
 
1665
                                    {{/if}}
-
 
1666
                               
-
 
1667
                                </td>
-
 
1668
                            </tr>
-
 
1669
                            {{for options}}
-
 
1670
                            <tr class="tr-option">
-
 
1671
                                <td class="text-left">---LABEL_OPTION</td>
-
 
1672
                                <td class="text-left">
-
 
1673
                                    {{:~removeTags(text)}}
-
 
1674
                                </td>
-
 
1675
                                <td>
-
 
1676
 
1384
JS;
1677
                                    {{if ~getType( slug_section, slug_question) == 'multiple' || ~getType( slug_section, slug_question) == 'rating-open'  }}
1385
 
1678
                                    {{/if}}
-
 
1679
                                </td>
-
 
1680
                                <td>
-
 
1681
                                    <button class="btn btn-default btn-edit-option" data-section="{{:slug_section}}" data-question="{{:slug_question}}" data-slug="{{:slug_option}}" data-toggle="tooltip"  data-original-title="LABEL_EDIT LABEL_OPTION"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT LABEL_OPTION</button>
-
 
1682
                                    <button class="btn btn-default btn-delete-option" data-section="{{:slug_section}}" data-question="{{:slug_question}}" data-slug="{{:slug_option}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE LABEL_OPTION"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE LABEL_OPTION</button>
-
 
1683
                                </td>
-
 
1684
                            </tr>
-
 
1685
                            {{/for}}
-
 
1686
                            {{/for}}
-
 
1687
                        </tbody>
-
 
1688
                    </table>
-
 
1689
                </div>
-
 
1690
            </div>
-
 
1691
        </div>
Línea 1386... Línea -...
1386
$this->inlineScript()->appendScript($js);
-
 
1387
$this->headLink()->appendStylesheet($this->basePath('/react-bundles/organizational-climate/form/main.css'));
-
 
1388
$this->inlineScript()->appendFile('/react-bundles/organizational-climate/form/organizationalFormBundle.js');
1692
    </div>
-
 
1693
    </script>
1389
?>
1694