 #     console.log this
 #     @emit 'update'
 
-class GroupsBundleLimitPerUserView extends JView
-
-  pistachio: ->
-    """
-    {h2{#(title)}}
-    {h3{#(usage)}}
-    <h3>/</h3>
-    <h3>{.per-user{#(perUserQuota)}} - {.total{#(quota)}}</h3>
-    {h4{#(unit)}}
-    """
+# class GroupsBundleLimitPerUserView extends JView
+
+#   pistachio: ->
+#     """
+#     {h2{#(title)}}
+#     {h3{#(usage)}}
+#     <h3>/</h3>
+#     <h3>{.per-user{#(perUserQuota)}} - {.total{#(quota)}}</h3>
+#     {h4{#(unit)}}
+#     """
 
 class GroupsBundleLimitView extends JView
+
+  click:->
+    limit = @getData()
+    limit.quota = prompt 'enter a value', limit.quota
+    limit.emit 'update'
 
   pistachio: ->
     """

    disk  : 0.5

  computeUnitVisibility =
    users       : yes
    vms         : yes
    cpu         : no
    ram         : no
    disk        : no
    cpuPerUser  : no
    ramPerUser  : no
    diskPerUser : no

  mapPlansToRadios: (plan) ->
    @plansByCode[plan.code] = plan

    @plansByCode = {}

    JGroupBundle.fetchPlans (err, plans) =>

      # TODO: DRY

      @computePlans.addSubView computePlans = new KDInputRadioGroup
        name    : 'computePlan'
