@php
$idAttributes = [ 'id' => 'id_input','class' => 'form-control', 'maxlength' => '5'];
if(!$isNew) {
$idAttributes['disabled'] = true;
}
@endphp
{{ html()->text('id')->attributes($idAttributes) }}
{{ html()->text('name')->attributes([ 'id' => 'name_input','class' => 'form-control', 'maxlength' => '45']) }}
{{ html()->text('native_name')->attributes([ 'id' => 'native_name_input','class' => 'form-control', 'maxlength' => '45']) }}
id ? $language->pivot->is_active : false) checked @endif value="1">
@if($isNew)
@endif
{!! html()->submit('Save')->attributes(['class' => 'btn btn-primary btn-block']) !!}