                                           }})
 
                         (dom/span #js {:className "input-group-btn"}
-                                  (dom/button #js {:className "btn btn-default" :type "button"
+                                  (dom/button #js {:className "btn btn-success" :type "button"
                                                    :onClick (fn [_]
                                                               (om/update! app :page 1)
                                                               (put! chan-update 1)
                                                               1)}
                                               (dom/span #js {:className "glyphicon glyphicon-search"
-                                                             :aria-hidden "true"})))
+                                                             :aria-hidden "true"}))
+
+                                  (when add-button-fn
+                                    (dom/button #js {:className "btn btn-danger" :type "button"
+                                                     :onClick (fn [_]
+                                                                (add-button-fn)
+                                                                1)}
+                                                (dom/span #js {:className "glyphicon glyphicon-plus"
+                                                               :aria-hidden "true"})))
+
+                                  )
 
                         )
                (dom/br nil)

    om/IWillUnmount
    (will-unmount [_]
      (swap! modals-status disj (om/get-state owner :id)))
    om/IRenderState
    (render-state [this {id :id}]
      (println "modal id:" id)
      (let [show? (:show app)]
        (swap! modals-status (if show? conj disj) id)
        (dom/div #js {:aria-hidden "true"
                      :aria-labelledby label
                      :style (if show?
                               #js {:display "block" :paddingLeft 0}


(defn search-view [app owner
                   {:keys [data-update-fn
                           data-rendering-fn
                           add-button-fn]
                    :or {data-update-fn (fn [app]
                                          (println "Неопределена функция запроса обновления данных (data-update-fn [app] ...)")
                                          (println "параметр на входе: " (str app)))
