                   :active? (@app :value)
                   :disabled? disabled?
                   :on-click (fn [_]
+                              (when before-onClick-fn (before-onClick-fn))
                               (om/transact! app :value not)
                               (when onClick-fn (onClick-fn)))
                   :text (if (@app :value) text-on text-off)}))))

               (dom/div #js {:className input-class+ :style #js {}}
                        (om/build toggle-button app {:opts spec-toggle-button})
                        (om/build helper-p app {}) )))))

;; END toggle batton
;;..................................................................................................

                                           :href (or href "#") :target "_blank"}
                                      (dom/button #js {:className "btn btn-success"} "скачать")))
                    (when heading ((or heading-tag dom/h4) #js {:className "media-heading"} heading
                                   (when heading-2 (dom/small nil " - " heading-2 ))))
                    body)))


