seasons can be added now
This commit is contained in:
@@ -4,6 +4,21 @@ import "git.haelnorr.com/h/oslstats/internal/view/component/form"
|
||||
import "git.haelnorr.com/h/oslstats/internal/view/layout"
|
||||
|
||||
templ NewSeason() {
|
||||
@layout.Global("New Season")
|
||||
@form.NewSeason()
|
||||
@layout.Global("New Season") {
|
||||
<div class="max-w-screen-lg mx-auto px-4 py-8">
|
||||
<div class="bg-mantle border border-surface1 rounded-xl">
|
||||
<div class="p-6 sm:p-8">
|
||||
<div class="text-center mb-8">
|
||||
<h1 class="text-3xl font-bold text-text">Create New Season</h1>
|
||||
<p class="mt-2 text-sm text-subtext0">
|
||||
Add a new season to the system. All fields are required.
|
||||
</p>
|
||||
</div>
|
||||
<div class="max-w-md mx-auto">
|
||||
@form.NewSeason()
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user