<?php $__env->startSection('title'); ?> Change Password <?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<div class='col-lg-4 col-lg-offset-4'>
    <?php if(Session::has('success')): ?>
        <div class='alert alert-success'><?php echo Session::get('success'); ?></div>
    <?php elseif(Session::has('delete')): ?>
        <div class='alert alert-danger'><?php echo Session::get('delete'); ?></div>
    <?php endif; ?>
    
    <h1>Options</h1>
    <?php echo Form::open(array('action' => 'AdminController@postOptions')); ?>

    <div class="form-group">
        <?php echo Form::label('footer_text', 'Footer Text'); ?>

        <?php echo Form::textarea('footer_text', htmlspecialchars($footer_text), array('class' => 'form-control')); ?>

    </div>
    <?php echo Form::submit('Save Options', array('class' => 'btn btn-primary')); ?>

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

</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>