Support the ongoing development of Laravel.io →
Configuration Input Eloquent
Last updated 2 years ago.
0
Solution

I have resolved the issue by calling the form differently still not sure why this was a issue however there is a difference between. If any one knows why I would love to know the reason this is the create page the edit page has a extra field to set the method to put witch is maby why it worked?

/---------- Orriginal ---------------
<form action="/Access/Pages/" method="POST"> {{ csrf_field() }} <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default personal_panel"> <div class="panel-body centered" style="text-align: center;""> <label>Folder:</label> <input class="input_item" type="text" name="folder"> <label>Name:</label> <input class="input_item" type="text" name="code"> <button class="btn btn-success pull-right">Create</button> </div> </div> </div> </form>

/---------- New ------------------
{{ Form::open(array('url' => '/Access/Pages/')) }} <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default personal_panel"> <div class="panel-body centered" style="text-align: center;""> <label>Folder:</label> <input class="input_item" type="text" name="folder"> <label>Name:</label> <input class="input_item" type="text" name="code"> {{ Form::submit('Create', array('class' => 'btn btn-success pull-right')) }} </div> </div> </div> {{ Form::close() }}

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Jay jay Joined 29 Mar 2017

Moderators

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

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.