Viewing file: edit.blade.php (1.15 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{Form::model($department,array('route' => array('department.update', $department->id), 'method' => 'PUT')) }} <div class="modal-body">
<div class="row "> <div class="col-12"> <div class="form-group"> {{Form::label('branch_id',__('Branch'))}} {{Form::select('branch_id',$branch,null,array('class'=>'form-control select','placeholder'=>__('select Branch')))}} </div> </div> <div class="col-12"> <div class="form-group"> {{Form::label('name',__('Name'))}} {{Form::text('name',null,array('class'=>'form-control','placeholder'=>__('Enter Department Name')))}} @error('name') <span class="invalid-name" role="alert"> <strong class="text-danger">{{ $message }}</strong> </span> @enderror </div> </div>
</div> </div> <div class="modal-footer"> <input type="button" value="{{__('Cancel')}}" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{__('Update')}}" class="btn btn-primary"> </div> {{Form::close()}}
|