{% if h.is_enabled_resources() %} {% extends "package/base.html" %} {% block styles %} {{ super() }} {% asset 'feedback/feedback-comment-css' %} {% endblock %} {% block title %}{{ _('Comment on Resource') }} - {{ pkg_dict.title }} - {{ resource.name }} - CKAN{% endblock %} {% block primary %}

{{ _('Check comment content') }}


{{ _('Would you like to post a comment with the following content?') }}



{% for category in categories %} {% if category.name == selected_category %} {{ h.create_category_icon(category.value) | safe }} {{ _(category.value) }} {% endif %} {% endfor %} {% if h.is_enabled_rating(pkg_dict.owner_org) %} {% if rating %} {% for i in range(rating) %} {% endfor %} {% for i in range(5 - rating) %} {% endfor %} {% endif %} {% endif %}

{{ content }}
{% if attached_image_filename %}
{{ _('Attached Image') }}
{% endif %}
{% if attached_image_filename %} {% endif %}
{% if h.is_base_public_folder_bs3() %} {% else%} {% endif%}

{% endblock -%} {% block secondary %}{% endblock %} {%- block scripts %} {{ super() }} {% asset 'feedback/feedback-comment-js' %} {% set is_admin = c.userobj and (c.userobj.sysadmin or h.has_organization_admin_role(resource.package.owner_org)) %} {% if h.is_enabled_feedback_recaptcha() and (h.is_feedback_recaptcha_force_all() or not is_admin) %} {% asset 'feedback/feedback-moral_check_log-js' %} {% asset 'feedback/feedback-recaptcha-js'%} {% endif %} {% endblock -%} {% endif %}