@extends('header') @section('content') @parent {!! Former::open_for_files()->addClass('warn-on-exit')->rules(array( 'name' => 'required', )) !!} {{ Former::populate($account) }} @include('accounts.nav', ['selected' => ACCOUNT_COMPANY_DETAILS])

{!! trans('texts.details') !!}

{!! Former::text('name') !!} {!! Former::text('id_number') !!} {!! Former::text('vat_number') !!} {!! Former::text('work_email') !!} {!! Former::text('work_phone') !!} {!! Former::file('logo')->max(2, 'MB')->accept('image')->inlineHelp(trans('texts.logo_help')) !!} @if ($account->hasLogo())
{!! HTML::image($account->getLogoPath().'?no_cache='.time(), 'Logo', ['width' => 200]) !!}   {{ trans('texts.remove_logo') }}

@endif {!! Former::select('size_id')->addOption('','')->fromQuery($sizes, 'name', 'id') !!} {!! Former::select('industry_id')->addOption('','')->fromQuery($industries, 'name', 'id') !!}

{!! trans('texts.address') !!}

{!! Former::text('address1') !!} {!! Former::text('address2') !!} {!! Former::text('city') !!} {!! Former::text('state') !!} {!! Former::text('postal_code') !!} {!! Former::select('country_id')->addOption('','') ->fromQuery($countries, 'name', 'id') !!}
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
{!! Former::close() !!} {!! Form::open(['url' => 'remove_logo', 'class' => 'removeLogoForm']) !!} {!! Form::close() !!} @stop @section('onReady') $('#name').focus(); @stop