feat: Sets up ci workflows
This commit is contained in:
@@ -104,11 +104,11 @@ struct PurchaseOrderForm: HTML, Sendable {
|
||||
if let purchaseOrder, let createdAt = purchaseOrder.createdAt {
|
||||
div(.class("row")) {
|
||||
label(.class("label col-2")) { "Created:" }
|
||||
h3(.class("col-2")) { dateFormatter.string(from: createdAt) }
|
||||
h3(.class("col-2")) { dateFormatter.string(createdAt) }
|
||||
if let updatedAt = purchaseOrder.updatedAt {
|
||||
div(.class("col-1")) {}
|
||||
label(.class("label col-2")) { "Updated:" }
|
||||
h3(.class("col-2")) { dateFormatter.string(from: updatedAt) }
|
||||
h3(.class("col-2")) { dateFormatter.string(updatedAt) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@ struct UserDetail: HTML, Sendable {
|
||||
}
|
||||
div(.class("row")) {
|
||||
span(.class("label col-2")) { "Created:" }
|
||||
span(.class("date col-4")) { dateFormatter.formattedDate(user.createdAt) }
|
||||
span(.class("date col-4")) { dateFormatter.string(user.createdAt) }
|
||||
span(.class("label col-2")) { "Updated:" }
|
||||
span(.class("date col-4")) { dateFormatter.formattedDate(user.updatedAt) }
|
||||
span(.class("date col-4")) { dateFormatter.string(user.updatedAt) }
|
||||
}
|
||||
div(.class("btn-row user-buttons")) {
|
||||
button(
|
||||
|
||||
Reference in New Issue
Block a user