Current File : /home/tradevaly/demo.tradevaly.com.bd/resources/views/backend/abouts/edit.blade.php
@extends('layouts.backend')

    @section('content')  
<!-- Container Fluid-->
            <div class="row">
                <div class="col-lg-12">
                  <!-- Form Basic -->
                  <div class="card mb-4">
                    <div class="card-header card-header-modify py-3 d-flex flex-row align-items-center justify-content-between">
                      <h6 class="m-0 font-weight-bold text-heading-bar">Edit About Us</h6>
                        <a href="{{url('abouts')}}" class="btn btn-default-index  btn-sm text-right "><i class="fas fa-arrow-alt-circle-left"></i> Back</a>
                    </div>
                    <div class="card-body">
                        
                        {!! Form::model($data, ['method' => 'PATCH', 'enctype'  => 'multipart/form-data', 'route' => ['abouts.update', $data->id] ]) !!}

                            
                            <div class="row">

                                
                                 

                                <!-- <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Banner Image<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::file('banner_image', array('class' => 'form-control banner_image',  'onchange' => 'previewImage("banner_image", "previewImg", "banner_image")')) !!}

                                        @error('banner_image')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('banner_image') }}</strong>
                                            </span>
                                        @enderror
                                        
                                        <span class="invalid-feedback  alert-banner_image" role="alert" style="font-weight: bold;"></span>

                                        <br/>

                                        <a href="{{ asset('storage/app/public/abouts/'.$data->banner_image) }}" target="_blank" title="See Large View">
                                            
                                            <img id="previewImg" src="{{ asset('storage/app/public/abouts/'.$data->banner_image) }}" width="80">

                                        </a>

                                    </div>
                                </div> -->



                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Ttile<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('title', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('title')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('title') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>
                                

                                 <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Country<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_country', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_country')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_country') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Client<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_client', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_client')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_client') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Business<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_business', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_business')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_business') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Register User<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_register_user', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_register_user')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_register_user') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Visitor Daily<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_visitor_daily', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_visitor_daily')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_visitor_daily') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Total Review<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::text('total_review', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('total_review')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('total_review') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>

                                <div class="form-group col-sm-6">
                                  <label for="exampleInputEmail1">Description<span style="color: red"> *</span></label>
                                    <div>
                                        {!! Form::textarea('description', null, array('placeholder' => '','class' => 'form-control', 'required' => '')) !!}
                                        @error('description')
                                            <span class="invalid-feedback" role="alert">
                                                <strong>{{ $errors->first('description') }}</strong>
                                            </span>
                                        @enderror
                                    </div>
                                </div>


                                                                                   
                            </div>                            
                          
                        <button type="submit" class="btn btn-success">Update</button>
                        {!! Form::close() !!}
                    </div>
                  </div>
                </div>
            </div>
          <!--Row-->


    @endsection