@extends('layouts.main') @section('title') {{ __('Languages') }} @endsection @section('page-title')

@yield('title')

@endsection @section('content')

{{ __('Add Language') }}

{!! Form::open(['url' => route('language.store'), 'files' => true, 'data-parsley-validate','class'=>'create-form']) !!}
{{ Form::label('Language Name', __('Language Name'), ['class' => 'form-label text-center']) }} {{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => __('Language Name'), 'data-parsley-required' => 'true']) }}
{{ Form::label('Language Name', __('Language Name'). " (".__("in English").")", ['class' => 'form-label text-center']) }} {{ Form::text('name_in_english', '', ['class' => 'form-control', 'placeholder' => __('Language Name')." (".__("in English").")", 'data-parsley-required' => 'true']) }}
{{ Form::label('Language Code', __('Language Code'), ['class' => 'form-label text-center']) }} {{ Form::text('code', '', ['class' => 'form-control', 'placeholder' => __('Language Code'), 'data-parsley-required' => 'true']) }}
{{ Form::label('Country Code', __('Country Code'), ['class' => 'form-label text-center']) }} {{ Form::text('country_code', '', ['class' => 'form-control', 'placeholder' => __('Country Code'), 'data-parsley-required' => 'true']) }}
{{ Form::label('file', __('RTL'), ['class' => 'col-form-label text-center']) }}
{{ Form::checkbox('rtl', '', false, ['class' => 'form-check-input','id'=>'rtl']) }}
{{--
{{ Form::label('file', __('File For Admin Panel'), ['class' => 'form-label text-center', 'accept' => '.json.*']) }} {{ Form::file('panel_file', ['class' => 'form-control', 'language code', 'data-parsley-required' => 'true', 'accept' => '.json']) }}
{{ Form::label('file', __('File For App'), ['class' => 'form-label text-center', 'accept' => '.json.*']) }} {{ Form::file('app_file', ['class' => 'form-control', 'data-parsley-required' => 'true', 'accept' => '.json']) }}
{{ Form::label('file', __('File For Web'), ['class' => 'form-label text-center', 'accept' => '.json.*']) }} {{ Form::file('web_file', ['class' => 'form-control', 'data-parsley-required' => 'true', 'accept' => '.json']) }}
{{ Form::label('file', __('Sample for Admin'), ['class' => 'col-form-label text-center']) }}
{{ Form::label('file', __('Sample For App'), ['class' => 'col-form-label text-center']) }}
{{ Form::label('file', __('Sample For Web'), ['class' => 'col-form-label text-center']) }}
--}}
{{ Form::submit(__('Save'), ['class' => 'btn btn-primary me-1 mb-1']) }}
{!! Form::close() !!}
{{-- --}}
{{ __('ID') }} {{ __('Name') }} {{ __('Name'). " (".__("in English").")" }} {{ __('Language Code') }} {{ __('Country Code') }}{{ __('RTL') }}{{ __('Image') }} {{ __('Action') }}
@endsection