{!! Form::open(['url' => action('\Modules\Accounting\Http\Controllers\AccountTypeController@update', $account_type->id), 'method' => 'put', 'id' => 'edit_account_type_form' ]) !!}

@if($account_type->account_type=='sub_type') @lang('accounting::lang.edit_account_type') @else @lang('accounting::lang.edit_detail_type') @endif

{!! Form::label('edit_name', __( 'user.name' ) . ':*') !!} {!! Form::text('name', $account_type->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.name' ), 'id' => 'edit_name' ]); !!}
{!! Form::label('edit_parent_id', __( 'accounting::lang.parent_type' ) . ':*') !!}
{!! Form::label('edit_description', __( 'lang_v1.description' ) . ':') !!} {!! Form::textarea('description', $account_type->description, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.description' ), 'rows' => 3, 'id' => 'edit_description' ]); !!}
{!! Form::close() !!}