<?php
$view->extend('MarketZodacoBundle::base.html.php');
?>
<div class="col-sm-12 col-lg-12 main" id="mainContents">
    <div class="container">
        <?php
        if ($list) {
            foreach ($list as $value) {
                //if($feature[$value->getId()] != 0){ 
                ?>

                <div class="row">

                    <div class="col-lg-12 no-padding">
                        <div class="col-lg-12"><h3><img src="<?php echo $view->escape('/uploads/categories/'); ?><?php echo $value->getSmallIcon(); ?>"  style="width: 24px; min-height: 24px; height: 24px; margin-top: -5px; margin-bottom: 0px;"> <?php echo $view['translator']->trans("Features"); ?> <?php echo $value->getTitle(); ?></h3></div>
                    </div>
                    <div class="col-lg-12 no-padding">
                        <?php //foreach ($feature[$value->getId()] as $value1) { ?>

                        <div class="col-lg-3">
                            <div class="panel panel-default">
                                <div class="panel-heading"><?php echo $view['translator']->trans("New Post"); ?></div>
                                <div class="panel-body">
                                    <form role="form" method="POST" action="">
                                        <fieldset>
                                            <div class="form-group">
                                                <label><?php echo $view['translator']->trans("Title"); ?></label>
                                                <input class="form-control" placeholder="<?php echo $view['translator']->trans("Title"); ?>" id="title" name="title" type="text" autofocus="" required>
                                            </div>

                                        </fieldset>
                                    </form>

                                </div>
                            </div>
                        </div>
                        <?php
                        //}
                        ?>


                    </div>
                </div><!--/.row-->

                <?php
                //  }
            }
        }
        ?>

    </div>
</div>