<?php
  $attributes = array( 'id' => 'datadelete-form', 'enctype' => 'multipart/form-data');
  echo form_open( '', $attributes);
?>
  
<section class="content animated fadeInRight">
  <div class="col-md-12">
  <div class="card card-info">
      <div class="card-header">
          <h3 class="card-title"><?php echo get_msg('data_delete_info')?></h3>
      </div>
        <!-- /.card-header -->
        <div class="card-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                      <label>
                      <?php echo get_msg('content_label')?>
                      <a href="#" class="tooltip-ps" data-toggle="tooltip" title="<?php echo get_msg('key_label')?>">
                        <span class='glyphicon glyphicon-info-sign menu-icon'>
                      </a>
                    </label>

            
                    <?php echo form_textarea( array(
                      'name' => 'content',
                      'value' => set_value( 'content', show_data( @$data_delete->content ), false ),
                      'class' => 'form-control ckeditor',
                      'placeholder' => get_msg( 'content' ),
                      'rows' => '10',
                      'id' => 'content',
                    )); ?>
                  </div>
                  <br>

                  <div class="form-group">
                    <label> <span style="font-size: 17px; color: red;"></span>
                      <p><?php echo get_msg('data_deletion_policy_url') ; ?> : <br><br>
                        <a href="<?php echo site_url('/data_deletion_policy');?>" target="_blank">
                          <?php echo site_url('/data_deletion_policy');?></a></p>
                    </label>
                  </div>

                </div>
                <!-- col-md-6 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /.card-body -->

    <div class="card-footer">
            <button type="submit" class="btn btn-sm btn-primary">
        <?php echo get_msg('btn_save')?>
      </button>

      <a href="<?php echo $module_site_url; ?>" class="btn btn-sm btn-primary">
        <?php echo get_msg('btn_cancel')?>
      </a>
        </div>
       
    </div>
</div>
    <!-- card info -->
</section>
        
<?php echo form_close(); ?>