laravel/laravel — pull request #734 by franzliedke (2012-05-30 21:24:12+00:00)
Title: Allow for auto-filling form fields with previous input data.

By simply setting `Form::$remember` to `true`, this makes forms automatically be re-filled with the previously entered data - this way this does not have to be done by hand for every field (very tire-some in large forms).

Some things to note:
* I realize this adds state to the Form helper class. Is that bad? I don't think so (at least in this case), but...
* ...maybe there is a more Laravel-ish way for enabling this feature instead of using `Form::$remember`. I could imagine an extra parameter to `Form::open()`, but I'm very much looking for suggestions.
* I haven't yet tested this with select boxes, but don't want to before somebody tells me about the chances of getting this pull request merged.
* Changing the default `$value` parameter is necessary so that password fields will not be re-populated.
* `Input::old()` has to be repopulated manually, e.g. by redirecting with `with_input()`.