{% set id = id is defined ? id : '$$name$$' %}
{{ form_widget(formAparelhoPesca.codAparelhoPesca,{ 'attr': {'class': 'cemporcento insertaction hasfocus', 'cydata':'codAparelhoPesca' ~ id} }) }}
{% if formAparelhoPesca.idAparelhoPesca.get('value') is not empty %} {% endif %}