Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. Route::get('registration','AdminController@registration');
  2.  
  3. @extends('layouts.master')
  4.  
  5. {{ Form::open(['url'=>'registration']) }}
  6. <div>
  7. {{ Form::label('name','Name: ') }}
  8. {{ Form::text('name','',['placeholder'=>'Name']) }}
  9. </div>
  10. <div>
  11. {{ Form::label('username','Username: ') }}
  12. {{ Form::text('username','',['placeholder'=>'Username']) }}
  13. </div>
  14. <div>
  15. {{ Form::label('password','Password: ') }}
  16. {{ Form::text('password','',['placeholder'=>'Password']) }}
  17. </div>
  18.  
  19. <div>
  20. {{ Form::submit('Register') }}
  21. </div>
  22. {{ Form::close() }}
  23. @endsection
  24.  
  25. <?php
  26.  
  27. class AdminController extends Basecontroller{
  28.  
  29. public function registration()
  30. {
  31. return View::make('content.registration');
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement