{% ckan_extends %} {# Remove 'free extras' from the package form. If you're using convert_to/from_extras() as we are with our 'custom_text' field below then you need to remove free extras from the form, or editing your custom field won't work. #} {% block custom_fields %} {% endblock %} {# https://github.com/okfn/ckan/blob/master/ckan/templates/macros/form.html documents the macros for fields #} {% block package_metadata_fields %} {{ form.input('url', label=_('Source URL'), id='field-url', placeholder=_('URL where dataset came from or more information can be obtained'), value=data.url, error=errors.url, classes=['control-medium']) }} {{ super() }} {% endblock %} {# hide author/maintainer fields #} {% block package_metadata_author %} {% endblock %} {% block package_metadata_fields_maintainer %} {% endblock %}