<?php

use TourOperatorPro\Factory;
use TourOperatorPro\Html\TourOperatorProHtmlBackend;
use TourOperatorPro\Language\Text;
use TourOperatorPro\Utilities\Utility;

TourOperatorProHtmlBackend::load_jquery_library('icheck');

$root_template = TOUROPERATORPRO_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','touroperatorpro') ?></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');
