I want to add a default text and then the input value from database. my view code looks like this:
{{ Form::label('url', 'Update your youtube video url:') }}
{{ Form::text('url', null, ["class" => 'form-control input-lg']) }}
it looks like this: enter image description here
But I want to show like this: "https://www.youtube.com/watch?v=""here input from database" So, How can I add my own text before input value from database?
try this
{{ Form::text('url', $url, ["class" => 'form-control input-lg']) }}
from your controller pass $url
$url = 'Some default url';
return View::make('layout.name')->with('url', $url)