<div class="content-wrapper">
  <section class="content-header">
    <h1>
       <?= $pTitle ?>
        <small><?= $pDescription ?></small>
    </h1>
    <ol class="breadcrumb">
     <li><a href="<?= base_url() ?>"><i class="fa fa-star-o" aria-hidden="true"></i>Home</a></li>
     <li><?= $menu ?></li>
     <li class="active"><?= $smenu ?></li>
    </ol>
  </section>
  <section class="content">
    <div class="row">
      <div class="col-md-12">
        <?php if($this->session->flashdata('message')) { 
          $flashdata = $this->session->flashdata('message'); ?>
          <div class="alert alert-<?= $flashdata['class'] ?>">
            <button class="close" data-dismiss="alert" type="button">×</button>
            <?= $flashdata['message'] ?>
          </div>
        <?php } ?>
      </div>
      <div class="col-md-12">
        <div class="box box-warning">
          <div class="box-body">
            <form role="form" action="<?= base_url('Mailtemplate/changeNotifData') ?>" method="post" 
              class="validate" data-parsley-validate="" enctype="multipart/form-data">
              <div class="box-header with-border">
                <h3 class="box-title padLeft10 padTop5">Email Template</h3>
              </div>
              <div class="box-body">
                <div class="col-sm-12">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>Customer Registration Mail</label>
                      <p>Email => {:email}</p>
                      <textarea id="rich_editor_2" type="text" class="ip_reg_form_input form-control reset-form-custom" placeholder="Registration Mail" name="customer_registration_mail" style="height:108px;" data-parsley-trigger="change"><?= $notificationData->customer_registration_mail ?></textarea>
                    </div>
                  </div>

                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>Cancel Booking</label>
                      <p>Car Name => {:car_name} , Booking Date => {:book_date}</p>
                      <textarea id="rich_editor_3" type="text" class="ip_reg_form_input form-control reset-form-custom" placeholder="Forgot Mail" name="cancel_booking" style="height:108px;" data-parsley-trigger="change"><?= $notificationData->cancel_booking ?></textarea>
                    </div>
                  </div>
                </div>

                <div class="col-sm-12">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>Mechanic Activation Mail</label>
                      <p>Username => {:user_name}</p>
                      <textarea id="rich_editor_4" type="text" class="ip_reg_form_input form-control reset-form-custom" placeholder="Checker Activation Mail" name="mechanic_activation_mail" style="height:108px;" data-parsley-trigger="change"><?= $notificationData->mechanic_activation_mail ?></textarea>
                    </div>
                  </div>

                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>Success Booking</label>
                      <p>Car Name => {:car_name} , Amount => {:amount} , Booking Date => {:book_date}</p>
                      <textarea id="rich_editor_5" type="text" class="ip_reg_form_input form-control reset-form-custom" placeholder="Provider Activation Mail" style="height:108px;"
                      name="success_booking" data-parsley-trigger="change"><?= $notificationData->success_booking ?></textarea>
                    </div>
                  </div>
                </div>


                <div class="col-sm-12">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label>Invoice Template</label>
                      <p>Customer Name => {:name} , Order Id => {:order_id} , Order Date => {:order_date}, Invoice Date => {:invoice_date}, Shipping Address => {:shipping_address}, Product Name => {:product_name}, Brand Name => {:brand_name} , Quantity => {:quantity} , Price => {:price} , Total => {:total}</p>
                      <textarea id="rich_editor_6" type="text" class="ip_reg_form_input form-control reset-form-custom" placeholder="Invoice Template" name="invoice_template" style="height:108px;" data-parsley-trigger="change"><?= $notificationData->invoice_template ?></textarea>
                    </div>
                  </div>

                </div>
                <div class="col-sm-12">
                  <div class="col-md-6">      
                    <div class="box-footer textCenterAlign">
                      <button type="submit" class="btn btn-primary">Submit</button>
                      <a href="<?= base_url() ?>" class="btn btn-primary">Cancel</a>
                    </div>        
                  </div> 
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>