{{ translate('Edit currency') }}

{!! Form::open(['method' => 'patch', 'action' => ['Admin\CurrencyController@update', $Currency->id], 'files' => true]) !!}
{!! Form::text('name', $Currency->getTranslation('name', defaultLanguage()), ['class' => 'form-control', 'placeholder' => translate('Name')]) !!}
@error('name')
{{ $message }}
@enderror
{!! Form::text('symbol', $Currency->getTranslation('symbol', defaultLanguage()), ['class' => 'form-control', 'placeholder' => translate('Symbol')]) !!}
@error('symbol')
{{ $message }}
@enderror
{!! Form::text('code', $Currency->code, ['class' => 'form-control', 'placeholder' => translate('Code')]) !!}
@error('code')
{{ $message }}
@enderror
{!! Form::text('exchange_rate', $Currency->exchange_rate, ['class' => 'form-control', 'placeholder' => translate('Exchange rate')]) !!}
@error('exchange_rate')
{{ $message }}
@enderror
{!! Form::checkbox('status', null, $Currency->status, ['id' => 'Checkbox_1']) !!}
{!! Form::Close() !!}