@extends('accounts.nav') @section('content') @parent {{ Former::open()->addClass('col-md-9 col-md-offset-1') }} {{ Former::legend('Payment Gateway') }} @if ($accountGateway) {{ Former::populateField('gateway_id', $accountGateway->gateway_id) }} @foreach ($accountGateway->fields as $field => $junk) {{ Former::populateField($accountGateway->gateway_id.'_'.$field, $config->$field) }} @endforeach @endif {{ Former::select('gateway_id')->label('Provider')->addOption('', '')->fromQuery($gateways, 'name', 'id')->onchange('setFieldsShown()'); }} @foreach ($gateways as $gateway)
@endforeach {{ Former::actions( Button::lg_primary_submit('Save') ) }} {{ Former::close() }} @stop