{# @description The small Edit control a panel carries for the part of the record it shows. Draws nothing without an address, so a page passes one only to someone who may edit that part. #}
{# @prop href:text | description:"The editing page." #}
{# @prop text:text | default:"Edit" | description:"The visible text." #}
{# @prop icon:text | default:"edit" | description:"The icon." #}
{# @prop label:text | description:"The accessible name, when the text alone does not say what is edited." #}
{% load i18n %}
{% if href %}{{ text|default:_("Edit") }}{% endif %}