@extends('layouts.scaffold')

@section('main')

<h1>Create {{Model}}</h1>

{{ Form::open(array('route' => '{{models}}.store')) }}
	<ul>
{{formElements}}
		<li>
			{{ Form::submit('Submit', array('class' => 'btn btn-info')) }}
		</li>
	</ul>
{{ Form::close() }}

@if ($errors->any())
	<ul>
		{{ implode('', $errors->all('<li class="error">:message</li>')) }}
	</ul>
@endif

@stop


