Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::get('registration','AdminController@registration');
- @extends('layouts.master')
- {{ Form::open(['url'=>'registration']) }}
- <div>
- {{ Form::label('name','Name: ') }}
- {{ Form::text('name','',['placeholder'=>'Name']) }}
- </div>
- <div>
- {{ Form::label('username','Username: ') }}
- {{ Form::text('username','',['placeholder'=>'Username']) }}
- </div>
- <div>
- {{ Form::label('password','Password: ') }}
- {{ Form::text('password','',['placeholder'=>'Password']) }}
- </div>
- <div>
- {{ Form::submit('Register') }}
- </div>
- {{ Form::close() }}
- @endsection
- <?php
- class AdminController extends Basecontroller{
- public function registration()
- {
- return View::make('content.registration');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement