Created
July 20, 2020 09:57
-
-
Save saeedhajinasiri/b4bb3f80c2a1e43616e793dcfdccb736 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layout') | |
@section('content') | |
{!! Form::open(['action' =>['ContactController@update',$data->id], 'method' => 'PUT','files'=>true])!!} | |
<div class="col-md-6"> | |
<div class="form-group required"> | |
{!! Form::label("NAME") !!} | |
{!! Form::text("name", $data->name ,["class"=>"form-control","required"=>"required"]) !!} | |
</div> | |
<div class="form-group required"> | |
{!! Form::label("EMAIL") !!} | |
{!! Form::text("email", $data->email ,["class"=>"form-control","required"=>"required"]) !!} | |
</div> | |
<div class="form-group required"> | |
{!! Form::label("PHONE") !!} | |
{!! Form::text("phone", $data->phone ,["class"=>"form-control","required"=>"required"]) !!} | |
</div> | |
<div class="well well-sm clearfix"> | |
<button class="btn btn-success pull-right" title="Save" type="submit">Update</button> | |
</div> | |
</div> | |
{!! Form::close() !!} | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment