@extends('boothagent.layout.app') @section('title', 'Election Portal - Edit Requirement') @section('content')

Edit Requirement

Back
@php $data=App\Models\UserDetail::where('user_id',$row->id)->first(); @endphp {!! Form::model($row, ['method' => 'patch', 'files' => true, 'route' => ['barequirement.update', $row->id]]) !!} @csrf
{!! Form::select('vidhansabha',[''=>'--Select Vidhan Sabha Name --']+$vidhansabha,old('vidhansabha',$row->vidhansabha_id),array('class'=>'form-control chosen','required')) !!}
{{ $errors->first('vidhansabha')}}
{!! Form::select( 'category_name', ['' => '--Select Category --'] + $category, old('category_name', $row->category_id),['class' => 'form-control chosen', 'required'], ) !!}
{{ $errors->first('category_name') }}
{!! Form::select( 'name', ['' => '--Select User --'] + $user, old('name', $row->user_id),['class' => 'form-control chosen', 'required'], ) !!}
{{ $errors->first('name') }}
{{ $errors->first('quantity') }}
{{ $errors->first('date')}}
{{ $errors->first('remark') }}
@endsection @push('footerscript') @endpush