laravel blade form show me an exception error -


first of sorry bad english. have laravel form using blade template engine show me exception error. if remove code , use php form echo statmente fine , page show up. problem? here code

{{ html::ul($errors->all()) }}  {{ form::open(array('url' => 'news')) }}  <div class="form-group">     {{ form::label('name', 'name') }}     {{ form::title('name', input::old('title'), array('class' => 'form-control')) }} </div>  <div class="form-group">     {{ form::label('email', 'email') }}     {{ form::text('email', input::old('description'), array('class' => 'form-control')) }} </div>  {{ form::submit('create nerd!', array('class' => 'btn btn-primary')) }}  {{ form::close() }} 

there no such thing form::title() in laravel.

try this

{{ html::ul($errors->all()) }}  {{ form::open(array('url' => 'news')) }}  <div class="form-group">     {{ form::label('name', 'name') }}     {{ form::text('name', input::old('title'), array('class' => 'form-control')) }} </div>  <div class="form-group">     {{ form::label('email', 'email') }}     {{ form::text('email', input::old('description'), array('class' => 'form-control')) }} </div>  {{ form::submit('create nerd!', array('class' => 'btn btn-primary')) }}  {{ form::close() }} 

make sure figure these errors these typing mistakes.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -