aboutsummaryrefslogtreecommitdiffstats
path: root/view/group_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/group_edit.tpl')
-rwxr-xr-xview/group_edit.tpl30
1 files changed, 17 insertions, 13 deletions
diff --git a/view/group_edit.tpl b/view/group_edit.tpl
index 51782ab95..3689db753 100755
--- a/view/group_edit.tpl
+++ b/view/group_edit.tpl
@@ -2,17 +2,21 @@
<div id="group-edit-wrapper" >
-<form action="group/$gid" id="group-edit-form" method="post" >
-<div id="group-edit-name-wrapper" >
-<label id="group-edit-name-label" for="group-edit-name" >$gname</label>
-<input type="text" id="group-edit-name" name="groupname" value="$name" />
-</div>
-<div id="group-edit-name-end"></div>
-$drop
-<div id="group-edit-submit-wrapper" >
-<input type="submit" name="submit" value="$submit" >
-</div>
-<div id="group-edit-desc">$desc</div>
-<div id="group-edit-select-end" ></div>
-</form>
+ <form action="group/$gid" id="group-edit-form" method="post" >
+
+ {{ inc field_input.tpl with $field=$gname }}{{ endinc }}
+ {{ if $drop }}$drop{{ endif }}
+ <div id="group-edit-submit-wrapper" >
+ <input type="submit" name="submit" value="$submit" >
+ </div>
+ <div id="group-edit-select-end" ></div>
+ </form>
</div>
+
+
+{{ if $groupeditor }}
+ <div id="group-update-wrapper">
+ {{ inc groupeditor.tpl }}{{ endinc }}
+ </div>
+{{ endif }}
+{{ if $desc }}<div id="group-edit-desc">$desc</div>{{ endif }}