<?php
use TourOperatorPro\Language\Text;
?>
<div class="view-tour-type-form">
    <form action="" method="post" class="client-form" name="admin-form" enctype="multipart/form-data">
        <div>
            <ul class="room-tab nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab"
                                                          data-toggle="tab"> <?php esc_attr_e('Tour type details','touroperatorpro') ?></a>
                </li>
                <li role="presentation"><a href="#profile" aria-controls="profile" role="tab"
                                           data-toggle="tab"><?php esc_attr_e('Gallery','touroperatorpro') ?></a></li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="home">
                    <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
                            $field = $this->form->getField('published')
                            ?>
                            <?php echo ($field->input) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <p><?php echo ($this->form->renderField('description')) ?></p>
                        </div>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="profile">
                    <div class="row">
                        <div class="col-md-12">
                            <?php echo ($this->form->renderField('gallery')) ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?php echo ($this->form->renderField('id')) ?>
        <input type="hidden" name="task" value="tourtype.save">
    </form>
</div>
