diff --git a/templates/room_add_coupon.html b/templates/room_add_coupon.html index 85da1675..ff30fc49 100644 --- a/templates/room_add_coupon.html +++ b/templates/room_add_coupon.html @@ -12,7 +12,7 @@ {{ form.movie.label(class_="label") }} {{ form.movie(size=32) }}

- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.tv.label(class_="label") }} {{ form.tv(size=32) }} diff --git a/templates/room_add_delivery.html b/templates/room_add_delivery.html index 49c73c72..a9211841 100644 --- a/templates/room_add_delivery.html +++ b/templates/room_add_delivery.html @@ -11,7 +11,7 @@ {{ form.movie.label(class_="label") }} {{ form.movie(size=32) }}

- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.tv.label(class_="label") }} {{ form.tv(size=32) }} diff --git a/templates/room_add_link.html b/templates/room_add_link.html index 0ed74d1b..88c29a50 100644 --- a/templates/room_add_link.html +++ b/templates/room_add_link.html @@ -19,7 +19,7 @@ {{ form.movie.label(class_="label") }} {{ form.movie(size=32) }}

- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.link.label(class_="label") }} {{ form.link(class_="input") }} diff --git a/templates/room_add_mov.html b/templates/room_add_mov.html index bb53b332..d20f988a 100644 --- a/templates/room_add_mov.html +++ b/templates/room_add_mov.html @@ -9,7 +9,7 @@

{{ form.hidden_tag() }}
- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.movie_id.label(class_="label") }} {{ form.movie_id(class_="input") }} diff --git a/templates/room_add_pic.html b/templates/room_add_pic.html index b11c5644..e239f160 100644 --- a/templates/room_add_pic.html +++ b/templates/room_add_pic.html @@ -16,7 +16,7 @@
- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.tv.label(class_="label") }} {{ form.tv(size=32) }} diff --git a/templates/room_add_vote.html b/templates/room_add_vote.html index 803fc13e..55e9ad29 100644 --- a/templates/room_add_vote.html +++ b/templates/room_add_vote.html @@ -9,13 +9,13 @@

{{ form.hidden_tag() }}
- {{ form.title.label(class_="label") }} {{ form.title(class_="input") }} + {{ form.title.label(class_="label") }} {{ form.title(class_="textarea") }}

{{ form.question.label(class_="label") }} {{ form.question(class_="input") }}

- {{ form.mii_msg.label(class_="label") }} {{ form.mii_msg(class_="input") }} + {{ form.mii_msg.label(class_="label") }} {{ form.mii_msg(class_="textarea") }}

{{ form.tv.label(class_="label") }} {{ form.tv(size=32) }} diff --git a/theunderground/forms.py b/theunderground/forms.py index d8bda16b..7ed90381 100644 --- a/theunderground/forms.py +++ b/theunderground/forms.py @@ -119,20 +119,20 @@ class PreRoomData(FlaskForm): class RoomDeliveryData(FlaskForm): movie = FileField("Movie", validators=[FileRequired()]) - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) tv = FileField("TV Screen Image", validators=[FileRequired()]) image = FileField("Image After Movie", validators=[FileRequired()]) upload = SubmitField("Upload") class RoomVoteData(FlaskForm): - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) tv = FileField("TV Screen Image", validators=[FileRequired()]) image1 = FileField("Answer Photo 1", validators=[FileRequired()]) image2 = FileField("Answer Photo 2", validators=[FileRequired()]) image3 = FileField("Answer Photo 3", validators=[FileRequired()]) question = StringField("Question", validators=[DataRequired(), Length(max=41)]) - mii_msg = StringField("Mii Message", validators=[DataRequired(), Length(max=51)]) + mii_msg = TextAreaField("Mii Message", validators=[DataRequired(), Length(max=51)]) upload = SubmitField("Upload") @@ -141,7 +141,7 @@ class RoomMovieData(FlaskForm): "Movie ID(Make sure you know the ID of the movie you want)", validators=[DataRequired()], ) - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) image = FileField("TV Screen Image", validators=[FileRequired()]) upload = SubmitField("Upload") @@ -152,7 +152,7 @@ class RoomLinkData(FlaskForm): choices=RoomContentBGMTypes.choices(), coerce=RoomContentBGMTypes.coerce, ) - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) link = StringField("Link", validators=[DataRequired(), Length(max=100)]) tv = FileField("TV Screen Image", validators=[FileRequired()]) image1 = FileField("Image After Movie", validators=[FileRequired()]) @@ -167,7 +167,7 @@ class RoomPicData(FlaskForm): choices=RoomContentBGMTypes.choices(), coerce=RoomContentBGMTypes.coerce, ) - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) tv = FileField("TV Screen Image", validators=[FileRequired()]) image1 = FileField("Image 1", validators=[FileRequired()]) image2 = FileField("Image 2", validators=[FileRequired()]) @@ -239,7 +239,7 @@ class CreditsForm(FlaskForm): class RoomCouponData(FlaskForm): - title = StringField("Title", validators=[DataRequired(), Length(max=47)]) + title = TextAreaField("Title", validators=[DataRequired(), Length(max=47)]) tv = FileField("TV Screen Image", validators=[FileRequired()]) image_after = FileField("Image After Movie", validators=[FileRequired()]) movie = FileField("Movie", validators=[FileRequired()])