{{ Form::text('username', Input::old('username')) }}
This is my code, I want to add Username as placeholder in the text box. I already use bootstrap in the project.
我试着用这个例子
{{ Form::text('username', 'Username', Input::old('username')) }}
但是它给出了一个需要删除的默认值,然后用户必须键入他的值.我想要一些东西,比如它是如何在Twitter.com等上显示的,一旦用户键入它,它就会被删除.