                            data-rendering-fn
                            add-button-fn
                            tools]
-                    :or {input-placeholder "введите сюда поисковый запрос"
-                         data-update-fn (fn [app]
-                                          (println "Неопределена функция запроса обновления данных (data-update-fn [app] ...)")
-                                          (println "параметр на входе: " (str app)))
-                         data-rendering-fn (fn [app]
-                                             (println "Неопределена функция запроса перерисовки данных (data-rendering-fn [app] ...)")
-                                             (println "параметр на входе: " (str app)))
-                         }}]
+                    :or   {input-placeholder "введите сюда поисковый запрос"
+                           data-update-fn    (fn [app]
+                                               (println "Неопределена функция запроса обновления данных (data-update-fn [app] ...)")
+                                               (println "параметр на входе: " (str app)))
+                           data-rendering-fn (fn [app]
+                                               (println "Неопределена функция запроса перерисовки данных (data-rendering-fn [app] ...)")
+                                               (println "параметр на входе: " (str app)))
+                           }}]
   (reify
     om/IInitState
     (init-state [_]

        (dom/div
         nil

         (om/build input (:password-1 app) {:opts {:type "password"
                                                   :onChange-updated-fn onChange-updated-fn}})
         (om/build input (:password-2 app) {:opts {:type "password"
                                                   :onChange-updated-fn onChange-updated-fn}})
         (om/build helper-p app {})


                                 (om/build helper-p app))
                        (dom/div #js {:className "panel-body" :style #js {:padding 2}}
                                 (ui-table
                                  {:hover?    true
                                   :bordered? true
                                   :striped?  true
                                   ;;:responsive? true
                                   :style+    #js {:marginBottom 0}
                                   :thead     (ui-thead-tr [(dom/th nil multi-table-caption) (dom/th nil "Действие")])
                                   :tbody     (om/build tbody-trs-sel (app :sel)
                                                        {:opts
                                                         {:app-to-tds-seq-fn
                                                          (fn [row]
                                                            (list
                                                             (if multiselect-row-render-fn
                                                               (multiselect-row-render-fn row)
                                                               (dom/td nil (str @row)))
                                                             (dom/td
                                                              #js {:style #js {:width "5%"}}
                                                              (ui-button
                                                               {:text "Удалить"
                                                                :on-click
                                                                (fn [_]
                                                                  (om/transact!
                                                                   app :sel
                                                                   (fn [selected]
                                                                     (let [pk (select-keys @row row-pk-fiels)]
                                                                       (->> selected
                                                                            (filter
                                                                             #(not
                                                                               (= (select-keys % row-pk-fiels)
                                                                                  pk)))
                                                                            vec))))

                                                                  1)}))))
                                                          }})
                                   }))

                        (dom/div #js {:className "panel-footer"}
                                 (ui-button {:type     ui-type--add-button--type
                                             :on-click #(modal-show (:modal app))
                                             :text     ui-type--add-button--text }))))



