lundi 25 avril 2016

laravel form model binding through HTML syntax

I am using blade template but i was to know that is there any way to use form binding on html syntax based form?. if i would do it in blade's way it would be like

But what if i want to use it like we add a hidden field for csrf_token() like

<input type="hidden" name="_token" value="" />

Here is my HTML form code:

<form class="form-group" action="/update" method="post" id="EditCommunityForm">
<input type="hidden" name="_token" value="">
<input type="text" name="community_name" class="form-control">
</form>

Edit:

i would like to ask that is there a way to convert this syntax to plain HTML?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire