public function replaceCommonTemplates(&$stub, Field $field)
    {
        return $this->replaceFieldName($stub, $field->name)
            ->replaceModelName($stub, $this->modelName)
            ->replaceCssClass($stub, $field->cssClass)
            ->replaceFieldType($stub, $field->htmlType)
            ->replaceFieldTitle($stub, $this->getTitle($field->getLabel()));
    }