diff --git a/app/views/templates/new.html.erb b/app/views/templates/new.html.erb index 5d0ac57f..80a1535f 100644 --- a/app/views/templates/new.html.erb +++ b/app/views/templates/new.html.erb @@ -3,9 +3,9 @@ <% if @base_template %> <%= hidden_field_tag :base_template_id, @base_template.id %> <% end %> - <% if @base_template && (can?(:manage, :tenants) || true_user != current_user) && true_user.account.account_linked_accounts.exists? %> + <% if @base_template && (can?(:manage, :tenants) || true_user != current_user) && true_user.account.account_linked_accounts.active.exists? %>