add groups f. browser

This commit is contained in:
jerger 2022-12-23 18:53:01 +01:00
parent 584cc86188
commit 6241f63967

View file

@ -170,4 +170,18 @@
{:type :element, {:type :element,
:attrs {:class "needs-validation", :id "form"}, :attrs {:class "needs-validation", :id "form"},
:tag :form, :tag :form,
:content []}) :content []})
(defn-spec generate-group map?
[name string?
content any?]
[{:type :element
:tag :div
:attrs {:class "rounded border border-3 m-3 p-2"}
:content [{:type :element
:tag :b
:attrs {:style "z-index: 1; position: relative; top: -1.3rem;"}
:content name}
{:type :element
:tag :fieldset
:content content}]}])