feat: Begins migrating views from leaf to elementary
This commit is contained in:
9
Sources/App/Views/Buttons.swift
Normal file
9
Sources/App/Views/Buttons.swift
Normal file
@@ -0,0 +1,9 @@
|
||||
import Elementary
|
||||
|
||||
struct ToggleFormButton: HTML {
|
||||
var content: some HTML<HTMLTag.a> {
|
||||
a(.href("javascript:void(0)"), .on(.click, "toggleContent('form')"), .class("btn-add")) {
|
||||
"+"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user