Skip to content

Instantly share code, notes, and snippets.

@LeShadow
Created February 1, 2014 18:25
Show Gist options
  • Save LeShadow/8756333 to your computer and use it in GitHub Desktop.
Save LeShadow/8756333 to your computer and use it in GitHub Desktop.
This is an example of a simple blade view
@section('content')
@if (count($sets) == 0)
<p>There are no sets defined yet!</p>
@else
@foreach ($sets as $set)
<p>{{ $set->name }}</p>
@endforeach
@endif
@stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment