| Línea 1387... |
Línea 1387... |
| 1387 |
clearSectionData();
|
1387 |
clearSectionData();
|
| 1388 |
$('#form-main').attr('action', '$routeAdd');
|
1388 |
$('#form-main').attr('action', '$routeAdd');
|
| 1389 |
$('#form-main #form-id').val('0');
|
1389 |
$('#form-main #form-id').val('0');
|
| 1390 |
$('#form-main #form-continue').val('0');
|
1390 |
$('#form-main #form-continue').val('0');
|
| 1391 |
$('#form-main #form-name').val('');
|
1391 |
$('#form-main #form-name').val('');
|
| 1392 |
$('#form-main #form-language').val('$lang_es'),
|
- |
|
| 1393 |
$('#form-main #form-status').val('$status_inactive');
|
- |
|
| 1394 |
CKEDITOR.instances['form-text'].setData('');
|
- |
|
| 1395 |
CKEDITOR.instances['form-description'].setData('');
|
- |
|
| 1396 |
$('#row-forms').hide();
|
1392 |
$('#row-forms').hide();
|
| 1397 |
$('#row-edit').show();
|
1393 |
$('#row-edit').show();
|
| 1398 |
$('#form-main #form-name').focus();
|
1394 |
$('#form-main #form-name').focus();
|
| 1399 |
});
|
1395 |
});
|
| 1400 |
/**
|
1396 |
/**
|
| Línea 1523... |
Línea 1519... |
| 1523 |
<input type="hidden" name="form-continue" id="form-continue" value="0" />
|
1519 |
<input type="hidden" name="form-continue" id="form-continue" value="0" />
|
| 1524 |
<div class="form-group">
|
1520 |
<div class="form-group">
|
| 1525 |
<label for="form-name">LABEL_FIRST_NAME</label>
|
1521 |
<label for="form-name">LABEL_FIRST_NAME</label>
|
| 1526 |
<input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
|
1522 |
<input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
|
| 1527 |
</div>
|
1523 |
</div>
|
| 1528 |
<div class="form-group">
|
- |
|
| 1529 |
<label for="form-description">LABEL_DESCRIPTION</label>
|
- |
|
| 1530 |
<!-- ckeditor -->
|
- |
|
| 1531 |
<textarea name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
|
- |
|
| 1532 |
</div>
|
- |
|
| 1533 |
<div class="form-group">
|
- |
|
| 1534 |
<label for="form-text">LABEL_TEXT</label>
|
- |
|
| 1535 |
<!-- ckeditor -->
|
- |
|
| 1536 |
<textarea name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
|
- |
|
| 1537 |
</div>
|
- |
|
| 1538 |
<div class="form-group">
|
- |
|
| 1539 |
<label for="form-language">LABEL_LANGUAGES</label>
|
- |
|
| 1540 |
<select name="form-language" id="form-language" class="form-control">
|
- |
|
| 1541 |
<option value="<?php echo $lang_en; ?>">LABEL_ENGLISH</option>
|
- |
|
| 1542 |
<option value="<?php echo $lang_es; ?>">LABEL_SPANISH</option>
|
- |
|
| 1543 |
</select>
|
- |
|
| 1544 |
</div>
|
- |
|
| 1545 |
<div class="form-group">
|
- |
|
| 1546 |
<label for="form-status">LABEL_STATUS</label>
|
- |
|
| 1547 |
<select name="form-status" id="form-status" class="form-control">
|
- |
|
| 1548 |
<option value="<?php echo $status_inactive; ?>">LABEL_INACTIVE</option>
|
- |
|
| 1549 |
<option value="<?php echo $status_active; ?>">LABEL_ACTIVE</option>
|
- |
|
| 1550 |
</select>
|
- |
|
| 1551 |
</div>
|
- |
|
| 1552 |
<br/>
|
- |
|
| 1553 |
<div class="row">
|
1524 |
<div class="row">
|
| 1554 |
<div class="col-xs-12 col-md-12 text-right">
|
1525 |
<div class="col-xs-12 col-md-12 text-right">
|
| 1555 |
<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>
|
1526 |
<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>
|
| 1556 |
</div>
|
1527 |
</div>
|
| 1557 |
</div>
|
1528 |
</div>
|