{% import 'macros/form.html' as form %} {% block resource_view %} {%- set modal_id = ui.util.id() -%} {%- call ui.util.call(ui.modal, title=_("Embed resource view"), id=modal_id, dismissible=true) -%}
{{ _("You can copy and paste the embed code into a CMS or blog software that supports raw HTML") }}
{{ ''.format(url=h.url_for(package.type ~ '_resource.view', id=package.name, resource_id=resource.id, view_id=resource_view.id, qualified=True))|e }}
{%- endcall %}
{{ h.render_markdown(resource_view.description) }}
{{ _('This resource view is not available at the moment.') }}
{% endif %}