Advertisement
nocturnalmk

Laravel Blade primer

Jun 12th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.59 KB | None | 0 0
  1. {{ Form::open(array('url' => 'new-user', 'method' => 'post', 'files' => 'true')) }}
  2.  
  3.     <h1>Create account:</h1>
  4.  
  5.     <p>
  6.         {{ Form::label('username', 'Chosen username:') }}
  7.         {{ Form::text('username') }}<br />
  8.  
  9.         {{ Form::label('email', 'Your email:') }}
  10.         {{ Form::text('email') }} <br />
  11.  
  12.         {{ Form::label('password', 'Safe password:') }}
  13.         {{ Form::password('password') }} <br />
  14.     </p>
  15.     <p>
  16.         {{ Form::label('terms', 'I accept the terms and conditions of the service.') }}
  17.         {{ Form::checkbox('terms', 'ok') }}
  18.     </p>
  19.     <p>
  20.         {{ Form::submit('Register') }}
  21.     </p>
  22.  
  23. {{ Form::close() }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement