<?php
$view->extend('MarketZodacoBundle::base_admin.html.php');
?>
<div class="col-lg-12">
    <?php if ($error == 1) { ?>
        <div class="alert bg-danger" role="alert">
            <ul style="list-style: none; padding-left: 0px;">
                <li><?php echo $view['translator']->trans("Error! Please try again."); ?></li>
            </ul>
        </div>
    <?php } ?>
    <?php if ($error == 2) { ?>
        <div class="alert bg-success" role="alert">
            <ul style="list-style: none; padding-left: 0px;">
                <li><?php echo $view['translator']->trans("Successfully!"); ?></li>
            </ul>
        </div>
    <?php } ?>
    <div class="panel panel-default">
        <div class="panel-heading"><?php echo $view['translator']->trans("Create Newsletter"); ?></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>
                    <div class="form-group">
                        <label><?php echo $view['translator']->trans("Description"); ?></label>
                        <textarea class="ckeditor" type="text" id="details" name="details"></textarea>
                    </div>
                    <input type="submit" class="btn btn-danger" value="<?php echo $view['translator']->trans("Submit"); ?>">
                </fieldset>
            </form>
        </div>
    </div>
</div>

