Back

Open routes in Laravel 5.2 ?


The thing is that I am having problems implementing a code from github,I don't know what the solution will be.

What I'm trying to do is implement a Full Calendar example ,but the route is just failing. The utility of this form would be to create a Calendar Event within a Modal,but the HTML is just failing

This is the code that I'm using,what should I do to make it work?

{{ Form::open(['route' => 'events.store', 'method' => 'post', 'role' => 'form']) }} <div id="responsive-modal" class="modal fade" tabindex="-1" data-backdrop="static"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4>REGISTRO DE NUEVO EVENTO</h4> </div> <div class="modal-body"> <div class="form-group"> {{ Form::label('title', 'TITULO DE EVENTO') }} {{ Form::text('title', old('title'), ['class' => 'form-control']) }} </div>

                        <div class="form-group">
                            {{ Form::label('date_start', 'FECHA INICIO') }}
                            {{ Form::text('date_start', old('date_start'), ['class' => 'form-control', 'readonly' => 'true']) }}
                        </div>

                        <div class="form-group">
                            {{ Form::label('time_start', 'HORA INICIO') }}
                            {{ Form::text('time_start', old('time_start'), ['class' => 'form-control']) }}
                        </div>

                        <div class="form-group">
                            {{ Form::label('date_end', 'FECHA HORA FIN') }}
                            {{ Form::text('date_end', old('date_end'), ['class' => 'form-control']) }}
                        </div>

                        <div class="form-group">
                            {{ Form::label('color', 'COLOR') }}
                            <div class="input-group colorpicker">
                                {{ Form::text('color', old('color'), ['class' => 'form-control']) }}
                                <span class="input-group-addon">
                                    <i></i>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-dafault" data-dismiss="modal">CANCELAR</button>
                        {!! Form::submit('GUARDAR', ['class' => 'btn btn-success']) !!}
                    </div>
                </div>
            </div>
        </div>
        {{ Form::close() }}

And this is the output that I get

<form method="POST" action="http://localhost:8000/events" accept-charset="UTF-8" role="form"><input name="_token" type="hidden" value="10mTUPeQw4eEKEXb9VqxLNgP1ZqGHVAk4M9CTajV"> </form>

It seems like no values are passed


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us