remove dupe is_deleted filter

This commit is contained in:
Kyle Drake 2016-12-29 17:14:33 -06:00
parent e821410d84
commit 616875b1d0

View file

@ -1,6 +1,6 @@
<h2>Delete Site</h2>
<div>
<% if @site.parent? && @site.children_dataset.where(is_deleted: false, is_deleted: false).count > 0 %>
<% if @site.parent? && @site.children_dataset.where(is_deleted: false).count > 0 %>
<p>
You cannot delete the parent site without deleting the children sites first.
</p>