@if ($bankAccount)
{!! Former::populateField('public_id', $bankAccount->public_id) !!}
{!! Former::hidden('public_id') !!}
@else
{!! Former::select('bank_id')
->data_bind('combobox: bank_id')
->addOption('', '')
->fromQuery($banks, 'name', 'id')
->blockHelp('texts.bank_accounts_help') !!}
@endif
{!! Former::password('bank_username')
->data_bind("value: bank_username, valueUpdate: 'afterkeydown'")
->label(trans('texts.username')) !!}
{!! Former::password('bank_password')
->label(trans('texts.password'))
->data_bind("value: bank_password, valueUpdate: 'afterkeydown'")
->blockHelp(trans(Request::secure() ? 'texts.bank_password_help' : 'texts.bank_password_warning')) !!}
{{ trans('texts.bank_account_error') }}