<?php

use WpBookingEvent\Factory;
use WpBookingEvent\Html\WpBookingEventHtmlBackend;
use WpBookingEvent\Language\Text;
use WpBookingEvent\Utilities\Utility;

WpBookingEventHtmlBackend::load_jquery_library('icheck');

$root_template = WPBOOKINGEVENT_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_attr_e('SAVE','wpbookingevent') ?></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');
