{% props label = null, renderLabelRaw = false, icon = null, url = null, htmlAttributes = {}, renderAsForm = false, # if true, the item will be rendered as a
element (and POST method) instead of an (and GET method) showBlankIcons = true, # (this is mostly an internal option) if false, the blank icon will not be rendered when action icon is null %}
  • {% set formId = renderAsForm ? 'ea-form-' ~ random() ~ random() %} {% if renderAsForm %}
  • {% endif %}
    {% if icon %} {% elseif showBlankIcons %} {% endif %} {% if label is not empty %}{{ renderLabelRaw ? label|raw : label }}{% endif %}