ORIENT/modules/backend/behaviors/relationcontroller/partials/_manage_pivot.htm

41 lines
1.6 KiB
HTML
Raw Normal View History

2014-05-14 13:24:20 +00:00
<div id="relationManagePivotPopup" data-request-data="_relation_field: '<?= $relationField ?>'">
<?= Form::open() ?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="popup">&times;</button>
2015-05-29 11:19:38 +00:00
<h4 class="modal-title"><?= e(trans('backend::lang.relation.add_a_new', ['name'=>trans($relationLabel)])) ?></h4>
2014-05-14 13:24:20 +00:00
</div>
2015-03-18 08:28:14 +00:00
<?php if (!$relationSearchWidget): ?>
<div class="modal-body">
<p><?= e(trans('backend::lang.relation.help')) ?></p>
</div>
<?php endif ?>
<div class="list-flush">
<?php if ($relationSearchWidget): ?>
<?= $relationSearchWidget->render() ?>
<?php endif ?>
<?= $relationManageWidget->render() ?>
2014-05-14 13:24:20 +00:00
</div>
<div class="modal-footer">
<?php if ($relationManageWidget->showCheckboxes): ?>
<button
type="button"
class="btn btn-primary"
data-control="popup"
data-handler="onRelationManageAddPivot"
data-size="huge"
data-dismiss="popup"
data-stripe-load-indicator>
<?= e(trans('backend::lang.relation.add_selected')) ?>
</button>
<?php endif ?>
2014-05-14 13:24:20 +00:00
<button
type="button"
class="btn btn-default"
data-dismiss="popup">
2014-08-12 00:15:38 +00:00
<?= e(trans('backend::lang.relation.cancel')) ?>
2014-05-14 13:24:20 +00:00
</button>
</div>
<?= Form::close() ?>
</div>