@extends('layouts.'.((Session::get('user')->CurrentRole === 'Firm Admin')?'admin':'filer').'-dashboard') @section('heading') Edit Service Contact @stop @section('content')

* {{ Form::label('firstName', 'First Name') }} {{ Form::text('firstName', $contact->firstname,array('class'=>'inputStyle')) }} @if($errors->has('firstName'))

{{$errors->first('firstName')}}

@endif

* {{ Form::label('lastName', 'Last Name') }} {{ Form::text('lastName', $contact->lastname,array('class'=>'inputStyle')) }} @if($errors->has('lastName'))

{{ $errors->first('lastName')}}

@endif

* {{ Form::label('email', 'Email') }} {{ Form::text('email', $contact->email,array('class'=>'inputStyle','style'=>'text-transform:lowercase;')) }} @if($errors->has('email'))

{{$errors->first('email')}}

@endif

   {{ Form::label('middleName', 'Middle Name') }} {{ Form::text('middleName', $contact->middlename,array('class'=>'inputStyle')) }}

   {{ Form::label('phoneNumber', 'Phone Number') }} {{ Form::text('phoneNumber', $contact->phonenumber,array('class'=>'inputStyle')) }} @if($errors->has('phoneNumber'))

{{$errors->first('phoneNumber')}}

@endif

   {{ Form::label('adminCopy', 'Administrative Copy') }} {{ Form::text('adminCopy', $contact->adminEmail,array('class'=>'inputStyle','style'=>'text-transform:lowercase;')) }}

@if(Config::get('app.is_public_service_contact'))

{{Form::checkbox('ifPublic', Input::old('ifPublic'),$contact->is_public);}} {{Form::label('ifPublic','Make this service contact Public')}}

@endif

{{Form::label('addContactInfo','Add Contact Information')}}

* {{ Form::label('addressLine1', 'Street Address') }} {{ Form::text('addressLine1', $contact->addressline1,array('class'=>'inputStyle')) }} @if($errors->has('addressLine1'))

{{ $errors->first('addressLine1')}}

@endif

   {{ Form::label('addressLine2', 'Address line 2') }} {{ Form::text('addressLine2', $contact->addressline2,array('class'=>'inputStyle')) }} @if($errors->has('addressLine2'))

{{$errors->first('addressLine2')}}

@endif

* {{ Form::label('city', 'City') }} {{ Form::text('city', $contact->city,array('class'=>'inputStyle')) }} @if($errors->has('city'))

{{$errors->first('city')}}

@endif

   {{ Form::label('state', 'State') }} {{ Form::select('state',array('AL' => 'Alabama', "AK" => "Alaska", "AZ" => "Arizona", "AR" => "Arkansas", "CA" => "California", "CO" => "Colorado", "CT" => "Connecticut", "DE" => "Delaware", "DC" => "District Of Columbia", "FL" => "Florida", "GA" => "Georgia", "HI" => "Hawaii", "ID" => "Idaho", "IL" => "Illinois", "IN" => "Indiana", "IA" => "Iowa", "KS" => "Kansas", "KY" => "Kentucky", "LA" => "Louisiana", "ME" => "Maine", "MD" => "Maryland", "MA" => "Massachusetts", "MI" => "Michigan", "MN" => "Minnesota", "MS" => "Mississippi", "MO" => "Missouri", "MT" => "Montana", "NE" => "Nebraska", "NV" => "Nevada", "NH" => "New Hampshire", "NJ" => "New Jersey", "NM" => "New Mexico", "NY" => "New York", "NC" => "North Carolina", "ND" => "North Dakota", "OH" => "Ohio", "OK" => "Oklahoma", "OR" => "Oregon", "PA" => "Pennsylvania", "RI" => "Rhode Island", "SC" => "South Carolina", "SD" => "South Dakota", "TN" => "Tennessee", "TX" => "Texas", "UT" => "Utah", "VT" => "Vermont", "VA" => "Virginia", "WA" => "Washington", "WV" => "West Virginia", "WI" => "Wisconsin", "WY" => "Wyoming"), $contact->state,array('class'=>'selectWidth'))}} @if($errors->has('state'))

{{$errors->first('state')}}

@endif

* {{ Form::label('zipCode', 'Zip Code') }} {{ Form::text('zipCode', $contact->zipcode,array('class'=>'inputStyle')) }} @if($errors->has('zipCode'))

{{$errors->first('zipCode')}}

@endif

   {{ Form::label('country', 'Country') }} {{ Form::text('country', 'US', array('class'=>'inputStyle')) }} @if($errors->has('country'))

{{$errors->first('country')}}

@endif

@stop @section('scripts_bottom') @stop