better topic name placeholder text

This commit is contained in:
Alan Roberts 2024-08-07 12:21:00 -04:00
parent f4cbac34ba
commit 0961d3e5dd

View file

@ -14,6 +14,6 @@ class ChooseTopicsForm(FlaskForm):
submit = SubmitField(_l('Choose')) submit = SubmitField(_l('Choose'))
class SuggestTopicsForm(FlaskForm): class SuggestTopicsForm(FlaskForm):
topic_name = TextAreaField(_l('New Topic Name'), validators=[DataRequired(), Length(min=1, max=100)], render_kw={'placeholder': 'Type a reply here...'}) topic_name = TextAreaField(_l('New Topic Name'), validators=[DataRequired(), Length(min=1, max=100)], render_kw={'placeholder': 'New Topic name here...'})
communities_for_topic = TextAreaField(_l('Suggested Communities'), validators=[DataRequired(), Length(min=1, max=5000)], render_kw={'placeholder': 'Comma seperated list of community suggestions'}) communities_for_topic = TextAreaField(_l('Suggested Communities'), validators=[DataRequired(), Length(min=1, max=5000)], render_kw={'placeholder': 'Comma seperated list of community suggestions'})
submit = SubmitField(_l('Submit')) submit = SubmitField(_l('Submit'))