
<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="#">Dashboard</a></li>
        <li class="active"><a href="<?php echo $this->url('templatesettings', array('action' => 'sms-template')); ?>">Sms Management</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">
                            <?php
                            $form = $this->form;
                            $form->prepare();
                            $form->setAttribute('action', $this->url('templatesettings', ['action' => 'edit-sms']));
                            $form->setAttribute('method', 'post');
                            echo $this->form()->openTag($form);
                            echo $this->FormElement($form->get('id'));
                            ?> 


                            <div class="panel panel-default">
                                <div class="panel-headingnew">  <?php echo $this->translate('Edit Sms'); ?> </div>

                                <div id="faq-1-1" class="panel-collapse collapse in" aria-expanded="true">
                                    <div class="panel-body">
                                        <form id="user_management">
                                            <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-10">

                                                                <div class="form-group clearfix margintopbottom20">
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new">
                                        <?php echo $this->translate('Message'); ?></label>
                                                                    <div class="col-sm-9 widthpersent79">
                                                                        <div class="row-fluid">
                                           <?php echo $this->FormElement($form->get('message')); ?>
                               <?php echo $this->formElementErrors($form->get('message'), ['class' => 'error']); ?>

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

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

                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new">
                                                                        <?php echo $this->translate('Message Sku'); ?></label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="row-fluid">
                                                                   
                                                                    <?php echo $this->FormElement($form->get('msg_sku')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('msg_sku'), ['class' => 'error']); ?>

                                                                        </div>
                                                                    </div>
                                                                    
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new"> 
                                                                        <?php echo $this->translate('Message Type'); ?></label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="row-fluid">
                                                                            <?php echo $this->FormElement($form->get('msg_type')); ?>
                                <?php echo $this->formElementErrors($form->get('msg_type'), ['class' => 'error']); ?>


                                                                        </div>
                                                                    </div>
                                                                     
                                                                    

                                                                </div>


                                                                <div class="form-group clearfix margintopbottom20">
                                                                    
                                                                    
                                                                  <label class="col-sm-3 control-label labelalign col-sm-3-new">  
                                                                        <?php echo $this->translate('Variables'); ?></label>
                                                                    <div class="col-sm-9 widthpersent79">
                                                                    <div class="row-fluid">
                                                                    <?php echo $this->FormElement($form->get('variables')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('variables'), ['class' => 'error']); ?>

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

                                                                
                                                                <div class="form-group clearfix margintopbottom20">
                                                                    
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new" >
                                                                        <?php echo $this->translate('Text Limit'); ?></label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="row-fluid">
                                                                            <?php echo $this->FormElement($form->get('text_limit')); ?>
                                                      <?php echo $this->formElementErrors($form->get('text_limit'), ['class' => 'error']); ?>
                                                                        </div>
                                                                    </div>
                                                                    
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">Status   </label>

                                                                                                       
                                                           <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="col-sm-6 no-padding">
                                                                            <div class="carbooking">
                           <input type="radio" name="is_active" id="active" value="1" <?php if($is_active==1){?> checked="checked" <?php } ?>>
                                                                                <label for="active"><span class="radio">Active</span></label>
                                                                            </div>

                                                                        </div>

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

                                                                            <div class="carbooking">
                  <input type="radio" name="is_active" id="deactive" value="0" <?php if($is_active==0){?> checked="checked" <?php } ?>>
                                                                                <label for="deactive"><span class="radio">In-Active</span></label>
                                                                            </div>
                                                                        </div>
                                                                    </div>           

                                                                </div>


                                                                
                                                                <div class="form-group clearfix margintopbottom20">
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">   </label>

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


                                                                        </div>

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


                                                                        </div>


                                                                    </div>

                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new"></label>
     <div class="col-sm-3 col-sm-4-new" align="right">

         <a href="<?php echo $this->url('templatesettings', array('action' => 'sms-template')); ?>" id="back" class="btn btn-github">
           Back</a>
           <?php echo $this->FormElement($form->get('submit')); ?>


     </div>
                                                                </div>

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


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

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