
<?php $__env->startSection('title', $group->group.' Ayarlar'); ?>



<?php $__env->startSection('_content'); ?>


<h1 class="title"><?php echo $group->group; ?> Ayarlar</h1>

<?php if(Session::has('success')): ?>
<div class="alert alert-success">Değişiklikler başarıyla kaydedildi.</div>
<?php endif; ?>

<?php if(Session::has('error')): ?>
<div class="alert alert-danger">Hatalı parametre</div>
<?php endif; ?>

<form role="form" method="post" action="">
    <?php foreach($group->options as $option): ?>
    <div class="form-group">
        <label for="<?php echo $option->option; ?>"><?php echo $option->description; ?></label>
        <?php echo Option::renderForm($option); ?>
    </div>
    <?php endforeach; ?>
    <button type="submit" class="btn btn-danger btn-md">Değişiklikleri Kaydet</button>
</form>



<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.wrap', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>