<?php $__env->startSection('content'); ?>
	
    <p class="head_inner_nav">
        <a href="<?php echo URL::to('admin/offerings'); ?>">Offerings</a><span>></span> <a href="<?php echo URL::to('admin/offerings/'.$offering->offering_id.'/faq'); ?>">FAQ</a> <span>></span> <?php echo $title; ?>
    </p> 
    
	<h2>"<?php echo $offering->name; ?>" Offering - FAQ</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($faq, $method); ?>
    	<div class="form-group">
    		<label for="input-question" class="control-label">Question</label>
    		<?php echo Form::text('question', null, array('id' => 'input-question', 'placeholder' => 'Auestion', 'required' => 'true', 'class' => 'form-control')); ?>
  		</div>
  		<div class="form-group">
    		<label for="input-answer" class="control-label">Answer</label>     		
     		<?php echo Form::textarea('answer', null, array('id' => 'redactor', 'placeholder' => 'Answer', 'required' => 'true', 'class' => 'form-control')); ?>  
  		</div>
        <div class="form-group">
    		<label for="input-is_active" class="control-label">Is active</label>
    		<?php echo Form::select('is_active', array('1' => 'Yes', '0' => 'No'), null, array('id' => 'input-is_active', '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(); ?>