@extends('layouts.app') @section('content')

@lang('quickadmin.currency.title')

{!! Form::model($currency, ['method' => 'PUT', 'route' => ['admin.currencies.update', $currency->id]]) !!}
@lang('quickadmin.qa_edit')
{!! Form::label('title', trans('quickadmin.currency.fields.title').'', ['class' => 'control-label']) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('title'))

{{ $errors->first('title') }}

@endif
{!! Form::label('symbol', trans('quickadmin.currency.fields.symbol').'', ['class' => 'control-label']) !!} {!! Form::text('symbol', old('symbol'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('symbol'))

{{ $errors->first('symbol') }}

@endif
{!! Form::label('money_format_thousands', 'Money format for thousands' .'', ['class' => 'control-label']) !!} {!! Form::text('money_format_thousands', old('money_format_thousands'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('money_format_thousands'))

{{ $errors->first('money_format_thousands') }}

@endif
{!! Form::label('money_format_decimal', trans('quickadmin.currency.fields.money-format-decimal').'', ['class' => 'control-label']) !!} {!! Form::text('money_format_decimal', old('money_format_decimal'), ['class' => 'form-control', 'placeholder' => '']) !!}

@if($errors->has('money_format_decimal'))

{{ $errors->first('money_format_decimal') }}

@endif
{!! Form::submit(trans('quickadmin.qa_update'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop