{% import "_includes/forms" as forms %} {% if blx.hasPackage('PublishPro') %} {% set sectionInput %}
{% endset %} {{ forms.field({ label: "Section"|t, instructions: "Which section do you want to pull recent entries from?"|t, id: 'section', }, sectionInput) }} {% endif %} {{ forms.textField({ label: "Limit"|t, id: 'limit', name: 'limit', value: settings.limit, size: 2, errors: settings.getErrors('limit') }) }}