Browse Source

small adjustment to tag list text

current_wdka_release
crunk 3 years ago
parent
commit
80d303bb63
  1. 2
      verse/forms/uploadform.py
  2. 5
      verse/static/css/style.css
  3. 2
      verse/templates/distribusiworkflow/upload.html

2
verse/forms/uploadform.py

@ -55,7 +55,7 @@ class UploadForm(FlaskForm):
validators=[DataRequired()]
)
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)],
)

5
verse/static/css/style.css

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

2
verse/templates/distribusiworkflow/upload.html

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

Loading…
Cancel
Save