        #js {:className "row"}
        (dom/form
         #js {:className "form-horizontal col-sm-12 col-md-12 col-lg-12"}
-        (dom/fieldset
-         nil
-         (dom/legend nil "Основные данные")
-
-         (om/build input-form-group (get-in app [:top_description])
-                   {:opts {:label "Наименование"
-                           :spec-input {:onChange-valid?-fn
-                                        input-vldfn-not-empty}}})
-
-         (om/build toggle-button-form-group (get-in app [:galleria])
-                   {:opts{:label "Отображать в галерее"}})
-
-         (om/build textarea-form-group (get-in app [:description])
-                   {:opts {:label "Описание"}})
-         ))))))
-
-
-
-(def thumbnails-modal-edit-form-app-init
-  (merge modal-app-init thumbinal-edit-form-app-init))
-
-(defn thumbnails-modal-edit-form [app _ {:keys [opts-thumbnails-edit-form]
-                                         :or {}}]
+        (if form-body
+          form-body
+          (dom/h1 nil "Элементы формы еще не определены")))))))
+
+
+(def modal-edit-form-for-id--YN--app-init
+  (merge modal-app-init edit-form-for-id-app-init))
+
+(defn modal-edit-form-for-id--YN- [app _ {:keys [edit-form-for-id]
+                                          :or {edit-form-for-id
+                                               (fn [_ _]
+                                                 (reify
+                                                   om/IRender
+                                                   (render [_]
+                                                     (dom/h1 nil "Форма диалога еще не указана"))))
+                                               }
+                                          :as opts}]
   (reify
     om/IInitState
     (init-state [_]

                 (:list app)))

               (om/build thumbnails-modal-edit-form (:modal app)
                         {:opts {:opts-thumbnails-edit-form
                                 {:chan-load-for-id chan-thumbnails-modal-edit-form-open-for-id
                                  :uri      "/files/find/transit"
                                  :uri-save "/files/edit/transit"
                                  :post-save-fn #(do
                                                  (when chan-update
                                                    (put! chan-update (:last-params @app)))
                                                  1)}}})

               ))))





(def edit-form-for-id-app-init
  {:id nil})

(defn edit-form-for-id [app owner {:keys [chan-load-for-id
                                          uri
                                          chan-load-row
                                          chan-save
                                          uri-save
                                          post-save-fn
                                          form-body
                                          fill-app-fn
                                          app-to-row-fn
                                          ]
                                   :or {fill-app-fn
                                        (fn [row]
                                          (println "Функция (fill-app-fn) формирования зароса не определена!"
                                                   " Пришел ответ вида: " row))
                                        app-to-row-fn
                                        (fn []
                                          (println "Функция (app-to-row-fn) формирования зароса не определена!")
                                          {})
                                        }}]
  (reify
    om/IInitState
    (init-state [_]
