diff --git a/estusshots/forms.py b/estusshots/forms.py index 8b316f1..9118019 100644 --- a/estusshots/forms.py +++ b/estusshots/forms.py @@ -27,6 +27,7 @@ class GenericFormModel: post_url: str errors: Dict[str, List[str]] = None + class SeasonForm(FlaskForm): season_id = HiddenField("Season ID", render_kw={"readonly": True}) code = StringField("Season Code", validators=[DataRequired()]) diff --git a/estusshots/templates/season_list.html b/estusshots/templates/season_list.html index b721bda..71fe4ea 100644 --- a/estusshots/templates/season_list.html +++ b/estusshots/templates/season_list.html @@ -14,10 +14,11 @@
| {{ caption }} | - {% endfor %} - +# | +Game | +Season Description | +Started At | +Ended At | {# Show #}View | @@ -30,14 +31,16 @@||
|---|---|---|---|---|---|---|---|---|
| {{ item[prop] }} | - {% endfor %} +{{ item.code }} | +{{ item.game }} | +{{ item.description or "No Description" }} | +{{ item.start }} | +{{ item.end or "Ongoing" }} | -- - - | ++ + + | {% if g.is_editor %}@@ -56,4 +59,4 @@ |