join trick wiht laravel code example
Example 1: laravel tricks and tips
Route::get('orders', function()
{
return View::make('orders.index')
->with('orders', Order::all());
});
//@sujay
Example 2: laravel tricks and tips
{{ Form::model($order) }}
<div>
{{ Form::label('title', 'Title:') }}
{{ Form::text('title') }}
</div>
<div>
{{ Form::label('description', 'Description:') }}
{{ Form::textarea('description') }}
</div>
{{ Form::close() }}
//@sujay