summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/view/datamods.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/view/datamods.php b/app/view/datamods.php
index 62707c9..e27404c 100644
--- a/app/view/datamods.php
+++ b/app/view/datamods.php
@@ -16,6 +16,7 @@ namespace datamods;
require_once "model/datamods.php";
require_once "view/formctrl.php";
+require_once "class/user.class.php";
?>
<?php function newGroup() : void { ?>
@@ -36,6 +37,19 @@ require_once "view/formctrl.php";
<div class="modal-body">
<form method="post" action="<?=ap()?>">
<?=\formctrl\formname( "dm-group-add" )?>
+
+ <div class="form-group">
+ <label>Owner</label>
+
+ <select class="form-control selectpicker">
+ <optgroup label="Users">
+ <option data-icon="glyphicon-user">
+ <?=\user::getCurrent()->getDisplayName()?>
+ </option>
+ </optgroup>
+ </select>
+ </div>
+
<?=\formctrl\text( "Group Name", "name" )?>
<button type="submit" class="btn btn-success pull-right">