@extends('layouts.full') @section('title') @if (isset($item->id) && !empty($item->id)) {{ trans('labels.LbTitleSoftwares2') }} @else {{ trans('labels.LbTitleSoftwares3') }} @endif @endsection @section('content-main')
@csrf
@component('components.cards.card', ['title' => trans('labels.LbSubtitleUser1')])
@component('components.forms.input', [ 'name' => 'code', 'required' => true, 'label' => trans('bdd.softwares.code.s'), 'value' => $item->code, 'type' => 'text', ]) @endcomponent
@component('components.forms.input', [ 'name' => 'name', 'required' => true, 'label' => trans('bdd.softwares.name.s'), 'value' => $item->name, 'type' => 'text', ]) @endcomponent
@component('components.forms.textarea', [ 'name' => 'description', 'label' => trans('bdd.softwares.description.s'), 'value' => $item->description, ]) @endcomponent
@endcomponent
@component('components.forms.submit', [ 'id' => $item->id, 'back' => route('softwares_index'), 'color' => 'primary', 'button' => trans('buttons.BtBasicSave'), ]) @endcomponent
@endsection