<?php $__env->startSection('content'); ?>
	<h2><?php echo $title; ?></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($page, $method, array('class' => 'form-horizontal')); ?>
	
  		<div class="form-group">
    		<label for="input-title" class="col-lg-2 control-label">Page Title *</label>
    		<div class="col-lg-10"> <?php echo Form::text('title', null, array('id' => 'input-title', 'placeholder' => 'Page Title', 'required' => 'true', 'class' => 'form-control')); ?>   </div>  		
  		</div>
  		<div class="form-group">
    		<label for="input-slug" class="col-lg-2 control-label">URL Slug</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('slug', null, array('id' => 'input-slug', 'placeholder' => 'URL Slug', 'class' => 'form-control')); ?>  </div>
  		</div>  		
  		<div class="form-group">
    		<label for="input-description" class="col-lg-2 control-label">Content *</label>    
    		<div class="col-lg-10"> 		
     		<?php echo Form::textarea('content', null, array('id' => 'input-description', 'placeholder' => 'Content', 'required' => 'true', 'class' => 'form-control', 'rows' => 20)); ?>
     		</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-meta_title" class="col-lg-2 control-label">Meta Title</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('meta_title', null, array('id' => 'input-meta_title', 'placeholder' => 'Meta Title', 'class' => 'form-control')); ?>  </div>
  		</div>
  		<div class="form-group">
    		<label for="input-meta_description" class="col-lg-2 control-label">Meta Description</label>    
    		<div class="col-lg-10"> 		
     		<?php echo Form::textarea('meta_description', null, array('id' => 'input-meta_description', 'placeholder' => 'Meta Description', 'class' => 'form-control', 'rows' => 3)); ?>
     		</div>  
  		</div>
  		<div class="form-group">
    		<label for="input-meta_keywords" class="col-lg-2 control-label">Meta Keywords</label>     		
     		<div class="col-lg-10"> <?php echo Form::text('meta_keywords', null, array('id' => 'input-meta_keywords', 'placeholder' => 'Meta Keywords', '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/events'); ?>" class="btn btn-link">Cancel</a>
  		</div>
  		
	<?php echo Form::close(); ?>
	
<?php $__env->stopSection(); ?>