{% trans_default_domain 'admin' %}

{{ form_start(form, {'attr': {'class': 'js-form', 'data-reload-page': 1}}) }}
{{ form_widget(form) }}
<button type="submit"
        class="table-row__btn-clone"
        title="{{ (translation_prefix ~ 'action.copy.submit')|trans|e('html_attr') }}"
        onclick="return confirm('{{ 'common.confirm'|trans|e('js') }}');">
    &nbsp;
</button>
{{ form_end(form) }}

{% trans_default_domain 'admin' %}

{% set title   = (translation_prefix ~ 'action.copy.submit')|trans %}
{% set classes = {
    'default': 'table-row__btn-clone',
    'show':    'modal-actions__btn-copy',
} %}

{{ form_start(form, {'attr': {'class': 'js-form', 'data-reload-page': 1}}) }}
{{ form_widget(form) }}
<button type="submit"
        class="{{ classes[style]|default(classes.default) }}"
        title="{{ title|e('html_attr') }}"
        onclick="return confirm('{{ 'common.confirm'|trans|e('js') }}');">
    {{ title }}
</button>
{{ form_end(form) }}

Change copy form view widget's HTML.
Change copy form view widget's HTML.
