@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.localization_title') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

{{ trans('admin/settings/general.localization') }}

{{ Form::label('site_name', trans('admin/settings/general.default_language')) }}
{!! Form::locales('locale', old('locale', $setting->locale), 'select2') !!} {!! $errors->first('locale', '') !!}
{{ Form::label('name_display_format', trans('general.name_display_format')) }}
{!! Form::name_display_format('name_display_format', old('name_display_format', $setting->name_display_format), 'select2') !!} {!! $errors->first('name_display_format', '') !!}
{{ Form::label('time_display_format', trans('general.time_and_date_display')) }}
{!! Form::date_display_format('date_display_format', old('date_display_format', $setting->date_display_format), 'select2') !!}
{!! Form::time_display_format('time_display_format', old('time_display_format', $setting->time_display_format), 'select2') !!}
{!! $errors->first('time_display_format', '
') !!}
{{ Form::label('default_currency', trans('admin/settings/general.default_currency')) }}
{{ Form::text('default_currency', old('default_currency', $setting->default_currency), array('class' => 'form-control select2-container','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px; display: inline-block; ')) }} {!! Form::digit_separator('digit_separator', old('digit_separator', $setting->digit_separator), 'select2') !!} {!! $errors->first('default_currency', '') !!}
{{Form::close()}} @stop