Skip to content

Instantly share code, notes, and snippets.

@sbarfurth
Created June 28, 2014 15:25
Show Gist options
  • Save sbarfurth/4e2558798d449cbd0e16 to your computer and use it in GitHub Desktop.
Save sbarfurth/4e2558798d449cbd0e16 to your computer and use it in GitHub Desktop.
So this is blade...
@extends('layouts.master')
@section('title')
Fiddle my Laravel
@stop
@section('container')
{{ Form::open() }}
<div class="form-group">
{{ Form::label('username', 'Username') }}
{{ Form::text('username', null, array('class' => 'form-control')) }}
</div>
<div class="form-group">
{{ Form::label('password', 'Password') }}
{{ Form::password('password', array('class' => 'form-control')) }}
</div>
{{ Form::button('Submit', array('class' => 'btn btn-default', 'type' => 'submit')) }}
{{ Form::close() }}
@stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment