{% import 'macros/form.html' as form %} {% import 'macros/kata_form.html' as kata_form %}

{{ _('Coverage') }}{{ kata_form.optional() }}

{# Autocomplete for spatial data #}

{{ _('Spatial coverage') }}

{{ _('Search location from location name database, select locations with enter or mouse click.') }}

{% set tag_attrs = {'data-module': 'autocomplete', 'data-module-tags': 'true', 'data-module-source': '/api/2/util/location_autocomplete?incomplete=?'} %} {{ form.input('geographic_coverage', id='geographic_coverage_field', label=_('Locations'), placeholder=_('eg. Finland'), value=data.geographic_coverage, error=errors.geographic_coverage, classes=['control-medium'], attrs=tag_attrs) }}

{{ _('Temporal coverage') }}

{{ kata_form.tooltip(tooltip=_('Temporal coverage - begin - can be filled to include the starting time of the time period during which your data was collected or for example to tell what time period your data is linked to.

Click the field to open a calendar tool to choose a modification date and time for this dataset. Accept and insert the date to the field by pressing the Done button. By default, the time zone is Z (Zulu Time Zone), which corresponds the UTC time zone.

Note that this tool requires JavaScript to be enabled in the browser.')) }} {% if errors.temporal_coverage_begin %} {{ errors.temporal_coverage_begin[0] }} {% endif %}
{{ kata_form.tooltip(tooltip=_('Temporal coverage - end - can be filled to include the ending time of the time period during which your data was collected or for example to tell what time period your data is linked to.

Click the field to open a calendar tool to choose a modification date and time for this dataset. Accept and insert the date to the field by pressing the Done button. By default, the time zone is Z (Zulu Time Zone), which corresponds the UTC time zone.

Note that this tool requires JavaScript to be enabled in the browser.')) }} {% if errors.temporal_coverage_end %} {{ errors.temporal_coverage_end[0] }} {% endif %}