<?php $__env->startSection('content'); ?>
	
    <p class="head_inner_nav">
        <a href="<?php echo URL::to('admin/offerings'); ?>">Offerings</a><span>></span> Subscription agreement
    </p> 
    
	<h2>"<?php echo $offering->name; ?>" Offering - Subscription agreement</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($agreement, $method); ?>
    	<div class="form-group">
  			<button class="btn btn-primary">Save</button>
  			<a href="<?php echo URL::to('admin/offerings'); ?>" class="btn btn-link">Cancel</a>
  		</div>
        <div class="form-group">
    		<label for="input-title" class="control-label">Title</label>     		
     		<?php echo Form::text('title', null, array('id' => 'input-title', 'placeholder' => 'Title', 'required' => 'true', 'class' => 'form-control')); ?>  
  		</div>
        
  		<div class="form-group">    		
     		<?php echo Form::textarea('content', null, array('id' => 'input-content', 'rows'=> 30, 'placeholder' => 'Subscription Agreement Content', 'class' => 'form-control')); ?>  
  		</div>  		
  		<div class="form-group">
  			<button class="btn btn-primary">Save</button>
  			<a href="<?php echo URL::to('admin/offerings'); ?>" class="btn btn-link">Cancel</a>
  		</div>
	<?php echo Form::close(); ?>
	
<?php $__env->stopSection(); ?>