Current File : //home/tradevaly/public_html/resources/views/backend/pages/package/feature_show.blade.php
@extends('backend.ayaan.master')

@push('title') Dashboard @endpush

@section('content')

    @component('components.breadcrumb')
        @slot('li_1') Dashboards @endslot
        @slot('title') Add Package @endslot
    @endcomponent
    
<div class="row">
    <div class="col-md-8 m-auto">
      <div class="card">
        <div class="card-header card-header-icon card-header-info">
          <div class="card-icon d-flex justify-items-left">
            <i class="fa fa-id-badge "></i> &nbsp; &nbsp; 
            <h4 class="card-title d-flex w-100 justify-content-between"><span>Edit Feature</span> <a href="{{route('admin.package.feature_list')}}" key="t-products">{{translate("Go Back")}}</a>
          </h4>
          </div>
          
        </div>
        <div class="card-body">
          <form action="{{route('admin.package.feature_list.update',$feature->id)}}" method="POST">@csrf
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="bmd-label-floating mt-4">{{translate("Feature Name")}}</label>
                  <input type="text" name="name" value="{{ $feature->name }}" class="form-control" required>
                </div>
              </div>
              <div class="col-md-12">
                <div class="form-group">
                  <label class="bmd-label-floating mt-4">{{translate("Feature Status")}}</label>
                  <select class="form-control" name="status">
                      <option value="enable" {{ $feature->status == 'disable'? '':'selected' }}>Enable</option>
                      <option value="disable" {{ $feature->status == 'disable'? 'selected':'' }} >Disable</option>
                  </select>
                </div>
              </div>
              
            <button type="submit" class="btn btn-info mt-5">Upload</button>
            <div class="clearfix"></div>
          </form>
        </div>
      </div>
    </div>
</div>
@endsection

@section('script')
    <!-- apexcharts -->
    <script src="{{ asset('/assets/libs/apexcharts/apexcharts.min.js') }}"></script>

    <!-- dashboard init -->
    <script src="{{ asset('/assets/js/pages/dashboard.init.js') }}"></script>
    <script>
        ClassicEditor
        .create( document.querySelector( '#editor1' ) )
        .catch( error => {
            console.error( error );
        } );
  </script>
@endsection





























{{-- @extends('backend.layouts.app')

@push('style')

@endpush

@section('content')
<div class="container-fluid">
  <div class="row">
    <div class="col-md-8">
      <div class="card">
        <div class="card-header card-header-icon card-header-info">
          <div class="card-icon">
            <i class="material-icons">Edit Feature</i>
          </div>
          <h4 class="card-title">{{translate("Edit Feature")}}
          </h4>
        </div>
        <div class="card-body">
          <form action="{{url('b2b/package/add')}}" method="POST" enctype="multipart/form-data">@csrf
            <div class="row">
              <div class="col-md-6">
                <div class="form-group">
                  <label class="bmd-label-floating mt-4">{{translate("Package Name")}}</label>
                  <input type="text" name="name" class="form-control" required>
                </div>
              </div>
            </div>
            </div>
            <button type="submit" class="btn btn-info pull-right">{{translate("Confirm")}}</button>
            <div class="clearfix"></div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
@stop

@push('script')
<script>
</script>
@endpush
--}}