@extends('index')

@section('subtitle')
    Kelola Barcode > Edit Barcode
@endsection

@section('content')
    <h4> Edit Barcode </h4>
    <div class="form-tambah">
        <form method="POST" action="{{url('kelola/barcode/'.$barcode->id.'/update')}}" enctype="multipart/form-data">
            {{csrf_field()}}
            <div class="input-group">
                <input type="text" name="isiBarcode" value="{{$barcode->instruksi}}" placeholder="Isi Barcode">
            </div>
            <div class="input-group">
                Poin Barcode <input type="number" name="poin" value="{{$barcode->poin}}" placeholder="Poin">
            </div>
            
            <div class="input-group">
                <input type="submit" value="Update">
            </div>
        </form>    
    </div>
@endsection