| Línea 1505... |
Línea 1505... |
| 1505 |
<div class="row" id="row-edit" style="display: none">
|
1505 |
<div class="row" id="row-edit" style="display: none">
|
| 1506 |
<div class="col-xs-12 col-md-12">
|
1506 |
<div class="col-xs-12 col-md-12">
|
| 1507 |
<form action="#" name="form-main" id="form-main">
|
1507 |
<form action="#" name="form-main" id="form-main">
|
| 1508 |
<input type="hidden" name="form-id" id="form-id" value="0" />
|
1508 |
<input type="hidden" name="form-id" id="form-id" value="0" />
|
| 1509 |
<input type="hidden" name="form-continue" id="form-continue" value="0" />
|
1509 |
<input type="hidden" name="form-continue" id="form-continue" value="0" />
|
| - |
|
1510 |
<?php
|
| - |
|
1511 |
//$form = $this->formAdd;
|
| - |
|
1512 |
$form->setAttributes([
|
| - |
|
1513 |
'method' => 'post',
|
| - |
|
1514 |
'name' => 'form-main',
|
| - |
|
1515 |
'action' => $routeAdd,
|
| - |
|
1516 |
'id' => 'form-main'
|
| - |
|
1517 |
]);
|
| - |
|
1518 |
$form->prepare();
|
| - |
|
1519 |
echo $this->form()->openTag($form);
|
| - |
|
1520 |
?>
|
| 1510 |
<div class="form-group">
|
1521 |
<div class="form-group">
|
| - |
|
1522 |
<?php
|
| - |
|
1523 |
$element = $form->get('name');
|
| 1511 |
<label for="form-name">LABEL_FIRST_NAME</label>
|
1524 |
$element->setOptions(['label' => 'LABEL_FIRST_NAME']);
|
| 1512 |
<input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
|
1525 |
$element->setAttributes(['class' => 'form-control']);
|
| - |
|
1526 |
echo $this->formLabel($element);
|
| - |
|
1527 |
echo $this->formText($element);
|
| - |
|
1528 |
?>
|
| 1513 |
</div>
|
1529 |
</div>
|
| 1514 |
<div class="form-group">
|
1530 |
<div class="form-group">
|
| - |
|
1531 |
<?php
|
| - |
|
1532 |
$element = $form->get('description');
|
| 1515 |
<label for="form-description">LABEL_DESCRIPTION</label>
|
1533 |
$element->setOptions(['label' => 'LABEL_DESCRPTION']);
|
| - |
|
1534 |
$element->setAttributes(['class' => 'form-control']);
|
| 1516 |
<!-- ckeditor -->
|
1535 |
echo $this->formLabel($element);
|
| 1517 |
<textarea name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
|
1536 |
echo $this->formText($element);
|
| - |
|
1537 |
?>
|
| 1518 |
</div>
|
1538 |
</div>
|
| 1519 |
<div class="form-group">
|
1539 |
<div class="form-group">
|
| - |
|
1540 |
<?php
|
| - |
|
1541 |
$element = $form->get('text');
|
| 1520 |
<label for="form-text">LABEL_TEXT</label>
|
1542 |
$element->setOptions(['label' => 'LABEL_TEXT']);
|
| - |
|
1543 |
$element->setAttributes(['class' => 'form-control']);
|
| 1521 |
<!-- ckeditor -->
|
1544 |
echo $this->formLabel($element);
|
| 1522 |
<textarea name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
|
1545 |
echo $this->formText($element);
|
| - |
|
1546 |
?>
|
| 1523 |
</div>
|
1547 |
</div>
|
| 1524 |
<div class="form-group">
|
1548 |
<div class="form-group">
|
| - |
|
1549 |
<?php
|
| 1525 |
<label for="form-status">LABEL_STATUS</label>
|
1550 |
$element = $form->get('status');
|
| 1526 |
<select name="form-status" id="form-status" class="form-control">
|
1551 |
$element->setAttributes(['class' => 'form-control']);
|
| 1527 |
<option value="<?php echo $status_inactive; ?>">LABEL_INACTIVE</option>
|
1552 |
$element->setOptions(['label' => 'LABEL_STATUS']);
|
| - |
|
1553 |
echo $this->formLabel($element);
|
| 1528 |
<option value="<?php echo $status_active; ?>">LABEL_ACTIVE</option>
|
1554 |
echo $this->formSelect($element);
|
| 1529 |
</select>
|
1555 |
?>
|
| 1530 |
</div>
|
1556 |
</div>
|
| 1531 |
<br/>
|
1557 |
<br/>
|
| 1532 |
<div class="row">
|
1558 |
<div class="row">
|
| 1533 |
<div class="col-xs-12 col-md-12 text-right">
|
1559 |
<div class="col-xs-12 col-md-12 text-right">
|
| 1534 |
<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>
|
1560 |
<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>
|
| 1535 |
</div>
|
1561 |
</div>
|