From dff967d3df7d71a936c48591e512c5afb4ef9138 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 27 May 2018 23:36:35 +0100 Subject: [PATCH] Clarify name/title --- app/views/packages/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/packages/__init__.py b/app/views/packages/__init__.py index bd090c72..6cb06d84 100644 --- a/app/views/packages/__init__.py +++ b/app/views/packages/__init__.py @@ -100,8 +100,8 @@ def package_download_page(package): class PackageForm(FlaskForm): - name = StringField("Name", [InputRequired(), Length(1, 20), Regexp("^[a-z0-9_]", 0, "Lower case letters (a-z), digits (0-9), and underscores (_) only")]) - title = StringField("Title", [InputRequired(), Length(3, 50)]) + name = StringField("Name (Technical)", [InputRequired(), Length(1, 20), Regexp("^[a-z0-9_]", 0, "Lower case letters (a-z), digits (0-9), and underscores (_) only")]) + title = StringField("Title (Human-readable)", [InputRequired(), Length(3, 50)]) shortDesc = StringField("Short Description (Plaintext)", [InputRequired(), Length(1,200)]) desc = TextAreaField("Long Description (Markdown)", [Optional(), Length(0,10000)]) type = SelectField("Type", [InputRequired()], choices=PackageType.choices(), coerce=PackageType.coerce, default=PackageType.MOD)