]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/GroupSelector.java
add: show assigned groups to an account in My Detail
[gigi.git] / src / org / cacert / gigi / output / GroupSelector.java
index f65fab750f4f14ae8260e43fedd8b23d4c379be9..66236e1610bb64657381f049b846552eb5240157 100644 (file)
@@ -39,11 +39,13 @@ public class GroupSelector implements Outputable {
         out.println("<select name='" + name + "'>");
         for (Group g : Group.values()) {
             if (supportFlag == g.isManagedBySupport()) {
-                out.print("<option name='" + g.getDatabaseName());
+                out.print("<option value='" + g.getDatabaseName());
                 if (g.equals(value)) {
                     out.print(" selected");
                 }
-                out.println("'>" + g.getDatabaseName() + "</option>");
+                out.println("'>");
+                g.getName().output(out, l, vars);
+                out.println("</option>");
             }
         }
         out.println("</select>");