vendredi 1 avril 2016

I am getting error massage

Getting error : syntax error, unexpected '=>' (T_DOUBLE_ARROW) my code is :

 @extends('layouts.masters.main')
        @section('page-content')

        <div class="container">

         @include('layouts.partials.nav')

         {!! Form::open(['route' => 'post_register', 'id' => 'registration-form']) !!}

             {!! Form::label('name', 'Full Name') !!}
        {!! Form::text('name', null, ['id' => 'name', 'class' => 'form-control', 'placeholder' => 'Full Name', 'required']) !!}

         {!! Form::label('email', 'Email Address') !!}
         {!! Form::email('email',null,['id' => 'email', 'class' => 'form-control', 'placeholder' => 'Email Address', 'required']) !!}


         {!! Form::label('password', 'password') !!}
         {!! Form::password('password',['id' => 'password', 'class' => 'form-control', 'placeholder' => 'password', 'required']) !!}

         {!! Form::button('Register','class' => 'btn btn-lg btn-primary btn-block', 'type' => 'submit')!!}
         {!! Form::close() !!}


        </div> <!-- /container -->
        @stop

please help ... i can't uderstand where i do the mistake in this code



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire