<div class="view-booking-form">
    <form action="#" method="post">
        <div>
            <ul class="event-tab nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#detail" aria-controls="home" role="tab"
                                                          data-toggle="tab"><?php esc_attr_e('Event detail','wpbookingpro')?></a></li>
                <li role="presentation"><a href="#customize" aria-controls="profile" role="tab" data-toggle="tab"><?php esc_attr_e('Customize','wpbookingpro')?></a>
                </li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="detail">
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('name') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('rates') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php
                        $field=$this->form->getField('recurring');
                        ?>
                        <?php echo($field->input) ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php
                        $field=$this->form->getField('close');
                        ?>
                        <?php echo($field->input) ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php
                        $field=$this->form->getField('price');
                        ?>
                        <?php echo($field->input) ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('price') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('allowed_person') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('address') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('staff') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('tags') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('description') ?>
                    </div>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <div role="tabpanel" class="tab-pane" id="customize">
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('gallery') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('colors') ?>
                    </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                        <?php echo  $this->form->renderField('published') ?>
                    </div>
                    </div>
                </div>
            </div>
        </div>
		<?php echo($this->form->renderField('id')) ?>
        <input type="hidden" value="booking.add_rate_to_cart" name="task" />
        <input type="hidden" value="my_action" name="action" />
    </form>
</div>
