{% import 'macros/form.html' as form %} {% extends 'package/base.html' %} {% set pkg = c.pkg_dict %} {% set pkg_dict = c.pkg_dict %} {% block breadcrumb_content_selected %}{% endblock %} {% block breadcrumb_content %} {{ super() }} {% if pkg %}
  • {% link_for _('Request DOI'), controller='ckanext.ands.controller:DatasetDoiController', action='dataset_doi', id=pkg.name %}
  • {% endif %} {% endblock %} {% block content_action %} {% link_for _('View dataset'), controller='package', action='read', id=pkg.name, class_='btn', icon='eye-open' %} {% endblock %} {% block content_primary_nav %} {% endblock %} {% block secondary_content %} {% endblock %} {% block primary_content_inner %}

    Below is the XML that will be sent to ANDS. Edit if required, and hit submit to create the DOI.

    {{ form.textarea('xml', 'xml', label='XML', value=xml, placeholder='Invalid XML', is_required=true, rows=25, cols=200, classes=['control-full', 'control-large']) }} {% block form_actions %}
    {% block save_button %} {% endblock %} {{ form.required_message() }}
    {% endblock %}
    {% endblock %}