<div style="font-size: 11pt; padding-top: 1em;">

	<?php echo Form::open(array('url'    => url('/account/setup-bia-account'),
					    'method' => 'post',
					    'id'     => 'bia_form')); ?>

		<?php echo Form::hidden('redirect', '/account#tabs-new'); ?>

		<div style="font-weight: bold; font-size: 12pt; color:#990000;">BIA Assessor Account Information</div>
		<p>
			Use this form to setup your BIA Assessor Account by entering in your mailing address and contact phone number.  All fields are required.  Click <b>Go</b> when ready.
		</p>		

		<br />

		<div class="columns">
			<div class="half">
				<div style="font-weight: bold;">
					Name
				</div>
				<?php echo Auth::user()->getDisplayFullName(); ?>
			</div>

			<div class="half">
				<div style="font-weight: bold;">
					E-Mail Address
				</div>
				<?php echo Auth::user()->email; ?>
			</div>

		</div>

		<br class="clear" /><br />

		<div class="columns">
			<div class="half">

				<?php echo Form::label('line_1', 'Mailing Address', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('line_1',
							  null,
							  array('style' => 'width: 95%;',
							  	    'autofocus' => 'true',
							  	    'data-placeholder' => 'Address Line 1',
							  	    'data-required' => 'true')); ?>

				<br />

				<?php echo Form::text('line_2',
							  null,
							  array('style' => 'width: 95%; margin-top: 0.5em;',
							        'data-placeholder' => 'Address Line 2')); ?>

				<br />

				<?php echo Form::text('city',
				              null,
				              array('style' => 'width: 171px; margin-top: 0.5em;',
				                    'data-placeholder' => 'City',
							  	    'data-required' => 'true')); ?>
				
				<select style="width: 60px;" id="state" name="state">
	            <?php

	                $states = DB::select('SELECT slug, name FROM states');

	                foreach ($states as $s)
	                {
	                    $name = $s->name;
	                    $slug = $s->slug;                       
	                    
	                    echo '<option value="' . $slug . '"';

	                    if ($slug == "OR") echo ' selected="selected"';

	                    echo '>' . $slug . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . $name . '</option>';                      
	                }

	                unset ($states);

	                echo '<option value="Other">Other</option>';

	            ?>
	            </select>

	            <?php echo Form::text('zip',
	                          null,
	                          array('style' => 'width: 60px; margin-top: 0.5em;',
	                                'data-placeholder' => 'ZIP',
	                                'maxlength' => '5',
							  	    'data-required' => 'true')); ?>

			</div>

			<div class="half">
				<?php echo Form::label('phone', 'Phone Number', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('phone',
							  null,
							  array('style' => 'width: 150px;',
							        'data-placeholder' => '###-###-####',
							  	    'data-required' => 'true')); ?>

				<br />
				<div style="font-size: 9pt; margin-top: 1em;">
					<span class="ui-icon ui-icon-info float_left" style="vertical-align: middle;"></span>
					This information will be used only by the OSAA staff in order to process payments or contact you regarding your reconciliation forms.
				</div>
			</div>
		</div>

		<br class="clear" /><br />

		<div class="columns">
			<div class="third" style="width: 30%;">

				<?php echo Form::label('code', 'Key Code', array('style' => 'font-weight: bold;')); ?><br />
				<?php echo Form::text('code',
							  null,
							  array('style' => 'width: 175px;',
							  	    'data-required' => 'true')); ?>
			</div>

			<div class="half" style="width: 65%; font-size: 9pt;">
				This key code is not your password.  This key code is required to establish your OSAA user account as a BIA Assessor Account.  For assistance, contact Brad Garrett, <?php echo Helpers::obfuscateEmailLink ("bradg@osaa.org"); ?> or call (503) 682-6722 x229.
			</div>
		</div>

	<?php echo Form::close(); ?>
</div>