<?php

use WpBookingHotel\Factory;
use WpBookingHotel\Html\WpBookingHotelHtmlWooPanel;
use WpBookingHotel\Language\Text;
use WpBookingHotel\Utilities\Utility;

WpBookingHotelHtmlWooPanel::load_jquery_library('icheck');

$root_template = WPBOOKINGHOTEL_PATH_ROOT . "/dev_tut/template/backend/nb_woobooking";
$doc = Factory::getDocument();
$doc->addLessStylesheet('admin_woopanel/app/assets/less/view_template.less');
?>
<?php
?>
    <div class="view-create-template">
        <form action="" method="post">
            <div class="row">
                <div class="col-md-6">
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo ($this->form->renderField('views')) ?>
                    </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="code"></div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="tool-bar pull-right">
                        <button class="btn btn-primary btn-save" type="submit"><?php esc_html_e('SAVE','wpbookinghotel') ?></button>
                    </div>
                </div>
            </div>
            <input type="hidden" name="task" value="tool.save_setup_view">
        </form>
    </div>
<?php
$doc->addScriptApplySelector('.view-create-template','view_create_template',array(
),'admin_woopanel/app/assets/js/view_create_template.js');
