feat: Removes unused form routes.
This commit is contained in:
@@ -48,54 +48,4 @@ struct ProjectDetail: HTML, Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
// var body: some HTML {
|
||||
// div(
|
||||
// .class(
|
||||
// """
|
||||
// space-y-4 p-4 m-4
|
||||
// """
|
||||
// )
|
||||
// ) {
|
||||
// Row {
|
||||
// h1(.class("text-2xl font-bold")) { "Project" }
|
||||
// EditButton()
|
||||
// .attributes(
|
||||
// .class("btn-ghost"),
|
||||
// .on(.click, "projectForm.showModal()")
|
||||
// )
|
||||
// }
|
||||
//
|
||||
// Row {
|
||||
// Label("Name")
|
||||
// span { project.name }
|
||||
// }
|
||||
// .attributes(.class("border-b border-gray-200"))
|
||||
//
|
||||
// Row {
|
||||
// Label("Address")
|
||||
// span { project.streetAddress }
|
||||
// }
|
||||
// .attributes(.class("border-b border-gray-200"))
|
||||
//
|
||||
// Row {
|
||||
// Label("City")
|
||||
// span { project.city }
|
||||
// }
|
||||
// .attributes(.class("border-b border-gray-200"))
|
||||
//
|
||||
// Row {
|
||||
// Label("State")
|
||||
// span { project.state }
|
||||
// }
|
||||
// .attributes(.class("border-b border-gray-200"))
|
||||
//
|
||||
// Row {
|
||||
// Label("Zip")
|
||||
// span { project.zipCode }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// ProjectForm(dismiss: true, project: project)
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user