Ab sofort ist der Login auf der Weboberfläche von git.fh-muenster.de bevorzugt über FH Muenster SSO möglich.

Commit f1bb7d2a authored by Joachim Schunk's avatar Joachim Schunk

make button usable in forms with addons

parent 5a1c49d6
(ns lernmeister.components.bulma.form.button)
(ns lernmeister.components.bulma.form.button
(:require [lernmeister.components.bulma.form.control :refer [control]]))
(defn button [{:keys [static?]} & content]
[:a.button {}
content])
(defn button [{:keys [expanded? static? icons]} & content]
[control {:expanded? expanded?
:icons icons}
[:a.button {:class (when static? " is-static")}
content]])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment