 (enable-console-print!)
 
 (def cursor [:page :network :form])
+
+(def form-internal-style
+  {:marginTop "14px"})
 
 (defn- form-name [value]
   (comp/form-comp


(rum/defc form < rum/reactive []
  (let [{:keys [name
                driver]} (state/react cursor)]
    [:div
     [:div.form-panel
      [:div.form-panel-right

         :value       "bridge"
         :primaryText "bridge"}))))

(defn- form-internal [value]
  (comp/form-comp
    "IS PRIVATE"
    (comp/checkbox
      {:checked value
       :style   form-internal-style
       :onCheck (fn [_ v]
                  (state/update-value [:internal] v cursor))})))

(defn- create-network-handler
  []
  (ajax/POST "/networks"
