diff --git a/app/templates/packages/create_edit.html b/app/templates/packages/create_edit.html index c2b03e1e..f356fb6c 100644 --- a/app/templates/packages/create_edit.html +++ b/app/templates/packages/create_edit.html @@ -59,6 +59,10 @@ {{ render_field(form.license, class_="not_txp col-sm-6") }} {{ render_field(form.media_license, class_="col-sm-6") }} +
{{ render_field(form.desc, class_="pkg_meta", fieldclass="form-control markdown") }} diff --git a/app/views/packages/packages.py b/app/views/packages/packages.py index e74ca7ef..1a9b106c 100644 --- a/app/views/packages/packages.py +++ b/app/views/packages/packages.py @@ -255,6 +255,9 @@ def create_edit_package_page(author=None, name=None): form.populate_obj(package) # copy to row + if package.type== PackageType.TXP: + package.license = package.media_license + mpackage_cache = {} package.provides.clear() mpackages = MetaPackage.SpecToList(form.provides_str.data, mpackage_cache)