diff --git a/ckanext/bulkupload/plugin.py b/ckanext/bulkupload/plugin.py index ab38d90..547992a 100644 --- a/ckanext/bulkupload/plugin.py +++ b/ckanext/bulkupload/plugin.py @@ -30,4 +30,4 @@ def get_auth_functions(self): def get_blueprint(self): - return bulkupload + return bulkupload \ No newline at end of file diff --git a/ckanext/bulkupload/templates/package/package_busoperator.html b/ckanext/bulkupload/templates/package/package_busoperator.html index ecc701d..b5eacd1 100644 --- a/ckanext/bulkupload/templates/package/package_busoperator.html +++ b/ckanext/bulkupload/templates/package/package_busoperator.html @@ -6,11 +6,17 @@

{% if request.args.get('errors') %} -

Please fill the dataset title

+

A dataset with this title already exists.

{% endif %}
- {{ form.input('title', id='field-dataset-title', label=_('Dataset Title'), value="", error="", placeholder='e.g. TransX data') }} -
{{ form.info('The name of the dataset') }}
+ + +
+
+ {{ form.info('The name of the dataset') }} +
{{ form.input('date-start', type='date', id='field-date-start', label=_('Date start'), value='', error='') }}
{{ form.info('Date start') }}
{{ form.input('date-end', type='date', id='field-date-end', label=_('Date end'), value='', error='') }} @@ -34,22 +40,22 @@
- + + startDateInput.addEventListener('change', updateEndDateMin); + {% endblock %} {% endblock %} @@ -70,4 +76,3 @@

{{ _('What are data {% endblock %} {% endblock %} -