<section class="content">
    <div class="row">
        <div class="col-sm-12">
            <div class="tabbable">
                <div class="tab-content no-border padding-24">
                    <div class="tab-pane fade in active" id="faq-tab-1">
                        <div class="space-8"></div>
                        <div class="panel-group accordion-style1 accordion-style2" id="faq-list-1">
                            <div class="panel panel-default">
                                <div class="panel-headingnew"><?php echo $this->translate('Add Cron Schedule'); ?> </div>
                                <div class="left_panel col-sm-12 padding_margin0" id="add_detail" style="float:left; background:#fff;">
                                    <div class="tab-content tab_editprofile col-sm-12" style="padding-left:0; margin-top:10px; margin-bottom:10px;">
                                        <div class="tab-pane fade in tab_editprofile tab_editprofile1 active">
                                            <div class="change_password tab_editprofile">
                                                <div class="tab-content">
                                                    <div class="tab-pane fade active in">
                                                        <div style="margin: 10px auto 0px !important;padding: 0 10px;" class="col-sm-col-sm-offset-1">

                                            <?php
                                            $form = $this->form;
                                            $form->prepare();
                                            $form->setAttribute('action', $this->url('cron', ['action' => 'edit-cron-schedule']));
                                            $form->setAttribute('enctype', 'multipart/form-data');
                                            echo $this->form()->openTag($form);
                                            ?>
                                                            <div class="row">
                                                                <div class="col-sm-10">
                                                                    <div class="form-group clearfix margintopbottom20">
                                                                        <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('cron_id'))); ?></label>
                                                                        <div class="col-sm-3 col-sm-4-new">
                                                                            <?php echo $this->FormElement($form->get('cron_id')); ?>
                                                                            <?php echo $this->FormElementErrors($form->get('cron_id'), ['class' => 'error']); ?>
                                                                        </div>

                                                                        <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('role_id'))); ?></label>
                                                                        <div class="col-sm-3 col-sm-4-new">
                                                                            <?php echo $this->FormElement($form->get('role_id')); ?>
                                                                            <?php echo $this->FormElementErrors($form->get('role_id'), ['class' => 'error']); ?>

                                                                        </div>
                                                                    </div>
                                                                    <div class="form-group clearfix margintopbottom20">


                                                                        <label class="col-sm-3 control-label labelalign col-sm-3-new">
                                                                            <?php echo $this->translate($this->formLabel($form->get('day'))); ?>
                                                                        </label>
                                                                        <div class="col-sm-3 col-sm-4-new">
                                                                            <?php echo $this->FormElement($form->get('day')); ?>
                                                                            <?php echo $this->FormElementErrors($form->get('day'), ['class' => 'error']); ?>
                                                                        </div>

                                                                        <label class="col-sm-3 control-label labelalign col-sm-3-new">Before / After  </label>
                                                                        <div class="col-sm-3 col-sm-4-new">
                                                                            <div class="col-sm-6 no-padding">
                                                                                <div class="carbooking">
                                                                                    <input type="radio" name="before_after" id="active" value="0" checked="checked" >
                                                                                    <label for="active"><span class="radio">Before</span></label>
                                                                                </div>

                                                                            </div>

                                                                            <div class="col-sm-6 no-padding">

                                                                                <div class="carbooking">
                                                                                    <input type="radio" name="before_after" id="deactive" value="1">
                                                                                    <label for="deactive"><span class="radio">After</span></label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-sm-12 " align="right">
                                                                  <?php echo $this->FormElement($form->get('submit')); ?>
                                                                  <?php echo $this->FormElement($form->get('id')); ?>
                                                                    </div>
                                                                </div>
                                                                <?php echo $this->form()->closeTag(); ?>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br>
            </div>
        </div>
</section>