Skip to content

Commit

Permalink
fixing incident title (#117)
Browse files Browse the repository at this point in the history
fixing incident title

Reviewed-by: Aloento
  • Loading branch information
vladimirhasko authored May 2, 2024
1 parent 44a2f27 commit e0dc287
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/web/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class IncidentUpdateForm(FlaskForm):
update_title = StringField(
"Incident title",
"Incident Title",
validators=[
validators.DataRequired(),
validators.Length(min=8, max=200),
Expand Down Expand Up @@ -64,15 +64,15 @@ def validate_next_update(self, field):


class IncidentForm(FlaskForm):
incident_text = TextAreaField(
"Incident summary",
incident_text = StringField(
"Incident Title",
validators=[
validators.DataRequired(),
validators.Length(min=8, max=200),
],
)
incident_desc = TextAreaField(
"Maintenance description",
"Maintenance Description",
validators=[
validators.Optional(),
validators.Length(min=8, max=500),
Expand Down

0 comments on commit e0dc287

Please sign in to comment.