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

<div class="card">
    <div class="card-header">
        {{ trans('global.edit') }} {{ trans('cruds.fusionCategory.title_singular') }}
    </div>

    <div class="card-body">
        <form method="POST" action="{{ route("admin.fusion-categories.update", [$fusionCategory->id]) }}" enctype="multipart/form-data">
            @method('PUT')
            @csrf
            <div class="form-group">
                <label class="required" for="fusion_categories">{{ trans('cruds.fusionCategory.fields.fusion_categories') }}</label>
                <input class="form-control {{ $errors->has('fusion_categories') ? 'is-invalid' : '' }}" type="text" name="fusion_categories" id="fusion_categories" value="{{ old('fusion_categories', $fusionCategory->fusion_categories) }}" required>
                @if($errors->has('fusion_categories'))
                    <div class="invalid-feedback">
                        {{ $errors->first('fusion_categories') }}
                    </div>
                @endif
                <span class="help-block">{{ trans('cruds.fusionCategory.fields.fusion_categories_helper') }}</span>
            </div>
            <div class="form-group">
                <label for="fusioncategory_description">{{ trans('cruds.fusionCategory.fields.fusioncategory_description') }}</label>
                <textarea class="form-control {{ $errors->has('fusioncategory_description') ? 'is-invalid' : '' }}" name="fusioncategory_description" id="fusioncategory_description">{{ old('fusioncategory_description', $fusionCategory->fusioncategory_description) }}</textarea>
                @if($errors->has('fusioncategory_description'))
                    <div class="invalid-feedback">
                        {{ $errors->first('fusioncategory_description') }}
                    </div>
                @endif
                <span class="help-block">{{ trans('cruds.fusionCategory.fields.fusioncategory_description_helper') }}</span>
            </div>
            <div class="form-group">
                <button class="btn btn-danger" type="submit">
                    {{ trans('global.save') }}
                </button>
            </div>
        </form>
    </div>
</div>



@endsection