<?php

use WpBookingPro\Factory;
use WpBookingPro\Html\WpBookingProHtmlBackend;
use WpBookingPro\Language\Text;
use WpBookingPro\Utilities\Utility;

WpBookingProHtmlBackend::load_jquery_library('icheck');

$root_template = WPBOOKINGPRO_PATH_ROOT . "/dev_tut/template/backend/nb_woobooking";
$doc = Factory::getDocument();
$doc->addLessStylesheet('admin/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','wpbookingpro') ?></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/app/assets/js/view_create_template.js');
