{% if val_data and val_data.can_read %} {{ val }}{% for a, u in val_data.list_actions %} {% endfor %} {% else %} {{ val }} {% endif %}