-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathselect.ctp
More file actions
executable file
·35 lines (34 loc) · 1.06 KB
/
select.ctp
File metadata and controls
executable file
·35 lines (34 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Element of block delete form
* - $model: Controller for delete request.
* - $action: Action for delete request.
* - $callback: Callback element for parameters and messages.
* - $callbackOptions: Callback options for element.
* - $options: Options array for Form->create()
*
* @author Masaki Goto <go8ogle@gmail.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
*/
?>
<div class="panel panel-default">
<div class="panel-heading">
<?php echo h($title); ?>
</div>
<div class="panel-body">
<?php echo $this->element('Groups.select_users', array('pluginModel' => $pluginModel)); ?>
<div class="text-right" ng-controller="GroupsAddGroup">
<?php
echo $this->Button->addLink(__d('groups', 'Create a new group in the above-described member'),
'#',
array(
'tooltip' => __d('net_commons', 'Add'),
'ng-click' => 'showGroupAddDialog(' . Current::read('User.id') . ')',
'style' => 'font-size: 10px;',
)
);
?>
</div>
</div>
</div>