add groups f. browser
This commit is contained in:
parent
584cc86188
commit
6241f63967
1 changed files with 15 additions and 1 deletions
|
@ -170,4 +170,18 @@
|
|||
{:type :element,
|
||||
:attrs {:class "needs-validation", :id "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}]}])
|
||||
|
|
Loading…
Reference in a new issue