<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="<?php echo $this->url('home');?>"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="<?php echo $this->url('dashboard'); ?>">Dashboard</a></li>
        <li class="active"><a href="<?php echo $this->url('userrolemanager',array('action'=>'add-department'));?>">Add Department</a></li>
    </ol>
</section>

<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">Role Department Management </div>




                                <div class="left_panel col-sm-12 padding_margin0 pull-left bg-white">
                                <?php
                                    $form = $this->form;
                                    $form->prepare();
                                    $form->setAttribute('action', $this->url('userrolemanager', ['action' => 'add-department']));
                                    $form->setAttribute('method', 'post');
                                    $form->setAttribute('id', 'user-search-form');
                                    echo $this->form()->openTag($form);
                                    ?>
                                    
                                    <div class="col-sm-12  " align="right">

                                        <div class="tool-bar margin">
                                            <div class="row">



                                                <a href="<?php echo $this->url('userrolemanager', array('action' => 'department')) ?>" class="back_btn_link btn btn-primary"><i class="fa fa-chevron-left"></i> Back</a>
                                                <a href="javascript:%20%20void(0);" class="reset_btn btn btn-success"><i class="fa fa-retweet"></i> Reset</a>
                                                <!--<a href="javascript:%20void(0);" class="save_data_btn btn btn-warning"><i class="fa fa-save"></i> Save</a>--><a href=""><?php echo $this->FormElement($form->get('submit')); ?></a>
                                            </div>

                                        </div>
                                    </div>

                                  

                                    <div class="tab-content tab_editprofile col-sm-12 padding-left0 margintop10px margin-bttom10px">
                                        <div id="home" class="tab-pane fade in tab_editprofile tab_editprofile1 active" style="min-height:auto !important;">

                                            <div class="change_password tab_editprofile">

                                                <div class="tab-content" id="myTabContent">
                                                    <div id="home" class="tab-pane fade active in">
                                                        <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">

                                                            <div class="row">
                                                                <div class="col-sm-12">

                                                                    <div class="col-sm-10">
                                                                        

                                                                        <div class="form-group clearfix margintopbottom20">
                                                                            <label class="col-sm-3 control-label labelalign col-sm-3-new" id="Categorie Name"><?php echo $this->translate('Department Name*'); ?>  </label>
                                                                            <div class="col-sm-3 col-sm-4-new">


                                                                                <?php echo $this->FormElement($form->get('department_name')); ?>
                                                                                <?php echo $this->formElementErrors($form->get('department_name'), ['class' => 'error']); ?>

                                                                            </div>  
                                                                            <label class="col-sm-3 control-label labelalign col-sm-3-new" id="Categorie Name"><?php echo $this->translate('Description*'); ?>  </label>
                                                                            <div class="col-sm-3 col-sm-4-new">


                                                                                <?php echo $this->FormElement($form->get('description')); ?>
                                                                                <?php echo $this->formElementErrors($form->get('description'), ['class' => 'error']); ?>

                                                                            </div>    
                                                                            <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">  <?php echo $this->translate('Status'); ?> </label>

                                                                            <div class="col-sm-3 col-sm-4-new no-padding">

                                                                                <div class="col-sm-5">
                                                                                    <div class="carbooking">
                                                                                        <input type="radio" name="status" id="Active" value="1" checked="checked">
                                                                                        <label for="Active"><span class="radio">Active</span></label>
                                                                                    </div>



                                                                                </div>

                                                                                <div class="col-sm-5">
                                                                                    <div class="carbooking">
                                                                                        <input type="radio" name="status" value="0" id="De-active">
                                                                                        <label for="De-active"><span class="radio">De-Active</span></label>

                                                                                    </div>


                                                                                </div>
<!--                                                                                <div class="col-sm-2">
                                                                                    <div class="carbooking">

                                                                                        <?php //echo $this->FormElement($form->get('submit')); ?>
                                                                                    </div>
                                                                                </div>-->

                                                                            </div>



                                                                        </div>



                                                                    </div>

                                                                </div>

                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>

                                            </div>


                                        </div>



                                    </div>
                                   


                                    <div class="tool-bar margin text-right">


                                        <div class="row">

                                            <a href="<?php echo $this->url('userrolemanager', array('action' => 'department')) ?>" class="back_btn_link btn btn-primary"><i class="fa fa-chevron-left"></i> Back</a>
                                            <a href="javascript:%20%20void(0);" class="reset_btn btn btn-success"><i class="fa fa-retweet"></i> Reset</a>
                                            <a href=""><?php echo $this->FormElement($form->get('submit')); ?></a>
                                        </div>

                                    </div>

 <?php echo $this->form()->closeTag(); ?> 
                                </div>

                            </div>



                        </div>



                    </div>

                </div>
            </div>
        </div>
    </div>
    <br>

    <!-- /.widget-box --> 
</section>                                                                            