@section('content')
<h1>Neue Vorlesung Erstellen<h1>
{{ Form::open(array('url'=> 'vorlesung/create,)) }}
<p>
{{ Form::label('name', 'Name:') }} </br>
{{ Form::text('name') }}
</p>
<p> {{ Form::submit('Vorlesung erstellen') }} </p>
{{Form::close() }}
@endsection
@stop
If i want to open that page it throws me the error:
syntax error, unexpected 'name' (T_STRING), expecting ')'
Please help me :))
You typed a comma instead of a single quote
This:
{{ Form::open(array('url'=> 'vorlesung/create,)) }}
Should be this:
{{ Form::open(array('url'=> 'vorlesung/create')) }}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community