put unless .empty in views