 (ns swarmpit.component.volume.create
   (:require [material.icon :as icon]
             [material.component :as comp]
+            [material.component.list-table-form :as list]
             [material.component.form :as form]
             [material.component.panel :as panel]
             [swarmpit.component.mixin :as mixin]
             [swarmpit.component.state :as state]
             [swarmpit.component.message :as message]
-            [swarmpit.url :refer [dispatch!]]
             [swarmpit.ajax :as ajax]
             [swarmpit.routes :as routes]
             [swarmpit.url :refer [dispatch!]]
+            [sablono.core :refer-macros [html]]
             [rum.core :as rum]))
 
 (enable-console-print!)
+
+(def form-driver-opts-cursor (conj state/form-value-cursor :options))
+
+(def form-driver-opts-headers
+  [{:name  "Name"
+    :width "35%"}
+   {:name  "Value"
+    :width "35%"}])
 
 (defn- volume-plugin-handler
   []


(defn- form-name [value]
  (form/comp
    "NAME"
    (comp/vtext-field
      {:name     "name"
       :key      "name"

(defn- init-form-value
  []
  (state/set-value {:volumeName nil
                    :driver     "local"
                    :options    []} state/form-value-cursor))

(def mixin-init-form
  (mixin/init-form
