Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input::old or input_old #64

Closed
pafelin opened this issue Oct 9, 2013 · 1 comment
Closed

Input::old or input_old #64

pafelin opened this issue Oct 9, 2013 · 1 comment

Comments

@pafelin
Copy link

pafelin commented Oct 9, 2013

Hi,

I cannot a find a way how i can print the old inputs.
In the controller I redirect the request to route with ->withInputs();

Redirect::route('auth.register')
            ->with('errors', $validator->getErrors())
            ->withInput();

and in the template I am trying to get the content of the input but it doesn't print anything.

{{ input_old('username') }}

i will appreciate your help or advice

@pafelin
Copy link
Author

pafelin commented Oct 9, 2013

so I found my problem. There isn't a bug. With \Redirect->withInput() everything works
but if you use View::make('template')->withInput() it is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant