(ns cashflow.frontend.navigation) (defn gen [current-page] [:nav {:class "tabbed"} [:a {:class (when (= current-page :one-time) "active") :_ "on click go to url /transactions/one-time/"} [:i "attach_money"] [:span "einmalige"]] [:a {:class (when (= current-page :recurring) "active") :_ "on click go to url /transactions/recurring/"} [:i "calendar_month"] [:span "wiederkehrende"]]])