Added end foreach in blade