From 0cc11ebb609de225fbeacbf80788b992b88b6ce6 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 9 Jul 2014 12:51:16 +0200 Subject: list identities based on search only --- app/views/common/_table.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/common/_table.html.haml') diff --git a/app/views/common/_table.html.haml b/app/views/common/_table.html.haml index 3c6bf2e..44762da 100644 --- a/app/views/common/_table.html.haml +++ b/app/views/common/_table.html.haml @@ -10,7 +10,7 @@ - headers.each do |header| %th= header %tbody - - if content.any? + - if content.present? = render content.all - else %tr -- cgit v1.2.3