{{#if entity.name}} {{> headers/_TitleWithSubAndIcon title=entity.name type="console.scripts.edit.script" icon="code" buttons="templates/admin/views/realms/partials/_HeaderDeleteButton" }} {{else}} {{> headers/_TitleWithSubAndIcon title="common.form.createNew" type="console.scripts.edit.script" icon="code" buttons="templates/admin/views/realms/partials/_HeaderDeleteButton" }} {{/if}}