<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\ListOfHotels */

$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'List Of Hotels', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="list-of-hotels-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'hotel_name',
            'hotel_name_english',
            'hotel_image',
            'hotel_address',
            'per_day_price',
            'security_deposit',
            'number_of_rooms',
            'zone_id',
            'ward_id',
            'status',
            'desc1',
            'desc2',
            'desc3',
            'desc_title1',
            'desc_title2',
            'desc_title3',
            'slider_image1',
            'slider_image2',
            'slider_image3',
            'lat',
            'lon',
            'term_and_condition:ntext',
            'created_by',
            'created_at',
            'updated_by',
            'updated_at',
            'comm_hall_type',
        ],
    ]) ?>

</div>
