<?php $__env->startSection('content'); ?>
	<h2>Edit Neighborhood</h2>
	
	<?php if($errors->has()): ?>
		<div class="alert alert-danger">
		<?php foreach ($errors->all() as $row): ?>
	      <div><?php echo $row; ?></div>
	  	<?php endforeach; ?>
	  	</div>
	<?php endif; ?>
	
	
	<?php echo Form::model($neighborhood, array('route' => array('admin.neighborhoods.update', $neighborhood->neighborhood_id), 'method' => 'PUT', 'files' => true, 'class' => 'form-horizontal')); ?>
	
  		<div class="form-group">
    		<label for="input-name" class="col-lg-2 control-label">Neighborhood Name *</label>
    		<div class="col-lg-10"> <?php echo Form::text('name', null, array('id' => 'input-name', 'placeholder' => 'Neighborhood Name', 'required' => 'true', 'class' => 'form-control')); ?>   </div>  		
  		</div>
  		<div class="form-group">
    		<label for="input-alias" class="col-lg-2 control-label">URL Alias</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('alias', null, array('id' => 'input-alias', 'placeholder' => 'URL Alias', 'class' => 'form-control')); ?>  </div>
  		</div>
  		<div class="form-group">
    		<label for="input-tagline" class="col-lg-2 control-label">Tagline</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('tagline', null, array('id' => 'input-tagline', 'placeholder' => 'Tagline', 'class' => 'form-control')); ?>  </div>
  		</div>
  		<div class="form-group">
    		<label for="input-description" class="col-lg-2 control-label">Description *</label>    
    		<div class="col-lg-10"> 		
     		<?php echo Form::textarea('description', null, array('id' => 'input-description', 'placeholder' => 'Description', 'required' => 'true', 'class' => 'form-control', 'rows' => 8)); ?>
     		</div>  
  		</div>  		
  		<div class="form-group">
    		<label for="input-is_active" class="col-lg-2 control-label">Is active *</label>
    		<div class="col-lg-10"> <?php echo Form::select('is_active', array('1' => 'Yes', '0' => 'No'), null, array('id' => 'input-is_active', 'class' => 'form-control')); ?>     	</div>	
  		</div>
  		<div class="form-group">
    		<label for="input-lat" class="col-lg-2 control-label">Center Latitude *</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('lat', null, array('id' => 'input-lat', 'placeholder' => 'Center Latitude', 'required' => 'true', 'class' => 'form-control')); ?>  </div>
  		</div>
  		<div class="form-group">
    		<label for="input-lng" class="col-lg-2 control-label">Center Longitude *</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('lng', null, array('id' => 'input-lng', 'placeholder' => 'Center Longitude', 'required' => 'true', 'class' => 'form-control')); ?>  </div>
  		</div>
  		<legend>Statistics</legend>
  		<div class="form-group">
    		<label for="input-population_total" class="col-lg-2 control-label">Total Population *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('population_total', null, array('id' => 'input-population_total', 'placeholder' => 'Total Population', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-population_male" class="col-lg-2 control-label">Male Population *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('population_male', null, array('id' => 'input-population_male', 'placeholder' => 'Male Population', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-population_female" class="col-lg-2 control-label">Female Population *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('population_female', null, array('id' => 'input-population_female', 'placeholder' => 'Female Population', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-age_median" class="col-lg-2 control-label">Median Age *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('age_median', null, array('id' => 'input-age_median', 'placeholder' => 'Median Age', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<br />
  		<div class="form-group">
    		<label for="input-never_married" class="col-lg-2 control-label">Never Married *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('never_married', null, array('id' => 'input-never_married', 'placeholder' => 'Never Married', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-married" class="col-lg-2 control-label">Married *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('married', null, array('id' => 'input-married', 'placeholder' => 'Married', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-separated" class="col-lg-2 control-label">Separated *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('separated', null, array('id' => 'input-separated', 'placeholder' => 'Separated', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-widowed" class="col-lg-2 control-label">Widowed *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('widowed', null, array('id' => 'input-widowed', 'placeholder' => 'Widowed', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-divorced" class="col-lg-2 control-label">Divorced *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('divorced', null, array('id' => 'input-divorced', 'placeholder' => 'Divorced', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<br />
  		<div class="form-group">
    		<label for="input-income_average" class="col-lg-2 control-label">Average Income *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('income_average', null, array('id' => 'input-income_average', 'placeholder' => 'Average Income', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-income_median" class="col-lg-2 control-label">Median Income *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('income_median', null, array('id' => 'input-income_median', 'placeholder' => 'Median Income', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<br />
  		<div class="form-group">
    		<label for="input-edu_no_high" class="col-lg-2 control-label">No High School *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_no_high', null, array('id' => 'input-edu_no_high', 'placeholder' => 'No High School', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-edu_some_high" class="col-lg-2 control-label">Some High School *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_some_high', null, array('id' => 'input-edu_some_high', 'placeholder' => 'Some High School', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-edu_some_college" class="col-lg-2 control-label">Some College *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_some_college', null, array('id' => 'input-edu_some_college', 'placeholder' => 'Some College', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-edu_assoc" class="col-lg-2 control-label">Associated Degree *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_assoc', null, array('id' => 'input-edu_assoc', 'placeholder' => 'Associated Degree', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-edu_bachelor" class="col-lg-2 control-label">Bachelor Degree *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_bachelor', null, array('id' => 'input-edu_bachelor', 'placeholder' => 'Bachelor Degree', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-edu_graduate" class="col-lg-2 control-label">Graduate Degree *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('edu_graduate', null, array('id' => 'input-edu_graduate', 'placeholder' => 'Graduate Degree', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<br />
  		<div class="form-group">
    		<label for="input-crime" class="col-lg-2 control-label">Safety / Crime *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('crime', null, array('id' => 'input-crime', 'placeholder' => 'Safety / Crime', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-rentals" class="col-lg-2 control-label">Rental Rates *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('rentals', null, array('id' => 'input-rentals', 'placeholder' => 'Rental Rates', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
    		<label for="input-events" class="col-lg-2 control-label">Event Tickets *</label>     		
     		<div class="col-lg-10">
     			<?php echo Form::text('events', null, array('id' => 'input-events', 'placeholder' => 'Event Tickets', 'required' => 'true', 'class' => 'form-control')); ?>
     		</div>
  		</div>
  		<div class="form-group">
  			<button class="col-lg-offset-2 btn btn-primary">Save</button>
  			<a href="<?php echo URL::to('admin/neighborhoods'); ?>" class="btn btn-link">Cancel</a>
  		</div>
  		
	<?php echo Form::close(); ?>
	
<?php $__env->stopSection(); ?>