public function getStub($type, $name)
    {
        if (in_array($name, $this->ignores)) {
            return;
        }

        $type = $this->getInputType($type, $name);

        return Stub::create('/form/'.$type.'.stub', [
            'name' => $name,
            'label' => ucwords(str_replace('_', ' ', $name)),
        ])->render();
    }