small adjustment to tag list text

This commit is contained in:
crunk 2022-03-25 12:29:02 +01:00
parent 3a4789b281
commit 80d303bb63
3 changed files with 7 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class UploadForm(FlaskForm):
validators=[DataRequired()] validators=[DataRequired()]
) )
tags = StringField( tags = StringField(
"Add tags, press enter or add a comma after each tag:", "Add tags, seperated by commas. No need for the '#' sign:",
validators=[validators.InputRequired(), Length(2, 500)], validators=[validators.InputRequired(), Length(2, 500)],
) )

View File

@ -98,6 +98,11 @@ fieldset.required > ul {
fieldset.required > ul > li{ fieldset.required > ul > li{
list-style-type: none; list-style-type: none;
} }
fieldset.tagfield > input {
width: 100%;
max-width: 100%;
}
input { input {
border: none; border: none;
background: #E0B0FF; background: #E0B0FF;

View File

@ -37,7 +37,7 @@
{% endfor %} {% endfor %}
</div> </div>
</fieldset> </fieldset>
<fieldset class="required"> <fieldset class="required tagfield" id="tagfield">
{{ uploadform.tags.label }} {{ uploadform.tags.label }}
{{ uploadform.tags }} {{ uploadform.tags }}
{% for message in uploadform.tags.errors %} {% for message in uploadform.tags.errors %}