{% set edit_button %}
{% include '@bolt-components-profile/profile-avatar-edit-button.twig' with {
content: 'Edit Text'|t,
attributes: {
type: 'button',
class: 'js-button-edit',
'data-foo': 'bar'
},
} only %}
{% endset %}
{% include '@bolt-components-profile/profile.twig' with {
name: {
content: '<strong>First Last</strong> (@username)',
tag: 'h2',
},
job_title: 'Lead System Architect',
location: 'United States',
avatar_edit_button: edit_button,
} only %}