{% ckan_extends %}

{% block page_primary_action %}
  {% if h.check_access('package_create', {'owner_org': c.group_dict.id}) %}
    {% link_for _('Add Dataset'), controller='package', action='new', groups__0__id=c.group_dict.id, class_='btn btn-primary', icon='plus-sign-alt' %}
  {% endif %}
{% endblock %}
Fix for group field being populated by the group parameter.
Fix for group field being populated by the group parameter.
