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

<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card">
                <div class="card-header">
					<div class="d-flex justify-content-between align-items-center">
						<div>
							Edit Nomination Ward
						</div>
						<div>
							<a style="text-decoration:none;" href="{{ route('nomination_wards.index',$nomination_ward->nomination_doc) }}">Back</a>
						</div>
					</div>
				</div>

                <div class="card-body">
					<form method="POST" action="{{route('nomination_wards.update',$nomination_ward) }}" file="true" enctype="multipart/form-data">
						@csrf
						<div class="p-3">
							<div class="mb-3">
							  <label for="ward_en" class="form-label">{{__('labels.ward_en')}}</label>
							  <input type="text" class="form-control" id="ward_en" name="ward_en" value="{{old('ward_en',$nomination_ward->ward_en)}}" placeholder="enter ward in english">
								 							</div>
							<div class="mb-3">
							  <label for="ward_mr" class="form-label">{{__('labels.ward_mr')}}</label>
							  <input type="text" class="form-control" id="ward_mr" name="ward_mr" value="{{old('ward_mr',$nomination_ward->ward_mr)}}" placeholder="enter ward in marathi">
							</div>
							
							<div class="mb-3">
							  <label for="file_en" class="form-label">{{__('labels.file')}}</label>
							  <input type="file" class="form-control" id="files" name="files[]" accept="image/*,application/pdf" placeholder="enter english image" multiple>
							</div>					
							
							
							<div class="py-3 text-center">
							 
							<button class="btn btn-success  btn-sm mb-1" type="submit">Update</button>

							</div>

						
						</div>
					</form>				
                </div>
            </div>
        </div>
    </div>
</div>


@endsection