Rename `$data` vars to `$value` and add placeholder attributes for text input