@extends('header') @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_PAYMENTS]) {!! Former::open($url)->method($method)->rules(array( 'first_name' => 'required', 'last_name' => 'required', 'email' => 'required', 'company_name' => 'required', 'tos_agree' => 'required', 'country' => 'required', ))->addClass('warn-on-exit') !!} {!! Former::populateField('company_name', $account->getDisplayName()) !!} @if ($account->country) {!! Former::populateField('country', $account->country->iso_3166_2) !!} @endif {!! Former::populateField('first_name', $user->first_name) !!} {!! Former::populateField('last_name', $user->last_name) !!} {!! Former::populateField('email', $user->email) !!} {!! Former::populateField('show_address', 1) !!} {!! Former::populateField('update_address', 1) !!} {!! Former::populateField('country', 'US') !!}