        #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 [_]

                  ;; если указан то сохранять в сеть
                  (ixnet/get-data
                   uri-save
                   (-> {}
                       (assoc :id              (@app :id))
                       (assoc :top_description (get-in @app [:top_description :value]))
                       (assoc :description     (get-in @app [:description :value]))
                       (assoc :galleria        (get-in @app [:galleria :value])))
                   (fn [result]
                     (when post-save-fn (post-save-fn result))))
                  ;; иначе альтернитиваная функция



(defn toggle-button-form-group [app owner {:keys [label
                                                  type
                                                  spec-toggle-button]
                                           :or {label "Метка"
                                                spec-toggle-button {}}}]
  (reify
    om/IRender
    (render [this]
      (dom/div #js {:className (str "form-group " (input-css-string-has? app))}
               (dom/label #js {:className "control-label col-sm-4 col-md-4 col-lg-4"} label)
               (dom/div #js {:className "col-sm-8 col-md-8 col-lg-8"}
                        (om/build toggle-button app {:opts spec-toggle-button})
                        (om/build helper-p app {}) )))))

