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

@lang('backend.edit_language')

Back
{!! html()->modelForm($language)->open() !!} @if($isNew) @endif @if(!$errors->isEmpty()) @endif
@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']) !!}
{!! html()->form()->close() !!}
@stop