@extends('layouts.app') @section('content')

{{$title}}

{!! Form::model($npa,['route'=>[$route.'.update',$npa->id],'name'=>'myForm','method'=>'PUT','onsubmit'=>'','id'=>'myForm','files'=>true]) !!} @csrf
{!! Form::number('harga',null,['class'=>'form-control','id'=>'example-text-input']) !!}
{{--
--}}
{!! Form::select('wilayah_id[]',$wilayah,isset($npa)?$npa->wilayah->pluck('id'):null,['class'=>'select2 form-control wilayah','id'=>'wilayah','multiple'=>'multiple']) !!}
{!! Form::close() !!}
@endsection @push('scripts') @endpush