lundi 30 juillet 2018

how to convert laravel form collective to normal html form

I am working with laravel project. and need convert following laravel form collective to normal collective,

 <div class="form-group row">
                {!! Form::label("image","Image",["class"=>"col-form-label col-md-3"]) !!} // need change this
                <div class="col-md-5">
                    <img id="preview"
                         src=""
                         height="200px" width="200px"/>
                    {!! Form::file("image",["class"=>"form-control","style"=>"display:none"]) !!} // need change this
                    <br/>
                    <a href="javascript:changeProfile();">Add Image</a> |
                    <a style="color: red" href="javascript:removeImage()">Remove</a>
                    <input type="hidden" style="display: none" value="0" name="remove" id="remove">
                </div>
            </div>

how can I do this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire