-forms::generic-form(${inviteUserForm}, 'inviteUserForm', 'invite', #{template.forms.containsErrors}, 'alert-danger', #{template.forms.inviteTeamMembers}, #{template.forms.invite}, false)}" />
<form th:fragment="invite-user-form-success"
      th:replace="~{generic-forms::generic-form(${inviteUserForm}, 'inviteUserForm', 'invite', 'User invited', 'alert-success', #{template.forms.inviteTeamMembers}, #{template.forms.invite}, false)}" />

<form th:fragment="organization-settings-form-new"
      th:replace="~