Commit eb459595 authored by Shakarim Sapa's avatar Shakarim Sapa

- Внесены некоторые изменения в форму для редактирования триггера

parent 39912f62
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use \common\modules\triggers\components\conditions\Conditions; use \common\modules\triggers\components\conditions\Conditions;
Yii::$app->controller->view->registerJsFile('/js/triggers/conditions/admin-block.js');
// Формируем html будущей таблицы, открыли тег // Формируем html будущей таблицы, открыли тег
$table = '<table class="table table-bordered">'; $table = '<table class="table table-bordered">';
// Формируем тело будущей таблицы // Формируем тело будущей таблицы
...@@ -12,7 +14,7 @@ $table .= '<tr>'; ...@@ -12,7 +14,7 @@ $table .= '<tr>';
$table .= '</tbody>'; $table .= '</tbody>';
// Формируем футер // Формируем футер
$table .= '<tfoot>'; $table .= '<tfoot>';
$table .= '<td><button type="button" class="btn btn-primary">Добавить условие "И"</button></td>'; $table .= '<td><button type="button" class="btn btn-primary add-and-condition">Добавить условие "И"</button></td>';
$table .= '</tfoot>'; $table .= '</tfoot>';
// Закрываем таблицу // Закрываем таблицу
$table .= '</table>'; $table .= '</table>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment