${ trigger.call("before_post_fields", feather) } {% for field in feather.fields %}
{% if field.type == "text" or field.type == "file" %} {% if post.filename and route.action == "edit_post" %} Current file name: ${ post.filename | escape('') } {% endif %} {% elseif field.type == "text_block" %} {% elseif field.type == "checkbox" %} {% elseif field.type == "select" %} {% endif %} $field.extra
{% endfor %} ${ trigger.call("after_post_fields", feather) }