{% import '_includes/forms' as forms %}
{% import 'feed-me/_macros' as feedMeMacro %}

{% if feed.elementGroup %}
    {% set groupId = feed.elementGroup[feed.elementType] %}

    {% set group = craft.app.tags.getTagGroupById(groupId) %}
{% endif %}

{% set tags = [{ label: 'Don’t import'|t('feed-me'), value: '' }] %}
{% for tag in craft.tags.all() %}
    {% set tags = tags|merge([{ label: tag.title|slice(0, 40), value: tag.id }]) %}
{% endfor %}

{% set fields = [{
    name: 'Title',
    handle: 'title',
