@include('admin/include/header')
<!-- Main Content -->
<div class="main-content">
    <section class="section">
      <div class="section-header">
        <h1>Variant</h1>
        <div class="section-header-breadcrumb">
          <div class="breadcrumb-item active"><a href="{{ url('admin/') }}">Dashboard</a></div>
          <div class="breadcrumb-item"><a href="javascript:void (0)">Variant</a></div>
          <div class="breadcrumb-item">Edit {{$data->title}} Variant</div>
        </div>
      </div>

      <div class="section-body">
        <div class="row">
          <div class="col-12 col-md-12 col-lg-12">
            <div class="card">
              <form id="editVariant">
                <div class="card-header">
                  <h4>Edit {{$data->title}} Variant</h4>
                </div>
                <div class="card-body">
                  <div class="form-group">
                    <label>Variants <span class="text-danger">(note: add variants comma separated)</span></label>
                    <input type="text" id="variantInput" name="variant" class="form-control" value="{{ $data->variant }}" />
                  </div>
                  <input type="hidden" name="code" id="code" data-id="{{ $data->id }}">
                </div>
                <div class="card-footer text-right">
                  <button type="submit" class="btn btn-primary">Update</button>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </section>
  </div>

@include('admin/include/footer')
