Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. try{
  2.  
  3. }
  4. catch(ParseException $pex){
  5. $error=var_dump($pex->getMessage());
  6. return Redirect::back()->withInput()->withErros(array('msg'=>$error));
  7. }
  8.  
  9. { Form::open(array('action' =>'UsersController@register','class' => 'form-horizontal','id'=> 'registrationForm' ,'name' => 'registrationForm','method' => 'POST')) }}
  10. <div class="body bg-gray">
  11. <!--Kullanicinin girmesi gereken bilgiler-->
  12. @if($errors->any())
  13. <div class="form-group has-error">
  14. <div class="col-sm-12">
  15. <h4>Error:{{$erros->first('code')}}</h4><br/>
  16. <label>{{$errors->first('msg')}}</label>
  17. </div>
  18. </div>
  19. @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement