Esempio n. 1
0
                <?php 
echo HCms::t('labels', 'Create a new language');
?>
            </a>
        </div>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 9, "label" => HLib::t('labels', 'Name')], ["width" => 1, "label" => HCms::t('labels', 'Code')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-9">
                                <?php 
        echo Html::a($model->name, Url::to(['/cms/languages/view', 'id' => $model->id]));
        ?>
                            </div>

                            <div class="col-sm-1">
                                <?php 
Esempio n. 2
0
/**
 * Formulaire de création
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BaseText;
use app\modules\cms\models\WebText;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var WebText      $model
 * @var BaseText     $baseModel
 * @var array        $baseTexts [BaseText]
 * @var array        $languages [Language]
 */
$this->title = HCms::t('labels', 'Create a new text');
$parameters = [];
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo $this->render('_form', compact('model', 'parameters', 'baseTexts', 'languages', 'baseModel'));
?>
    </div>
Esempio n. 3
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['base_id' => HCms::t('labels', 'Base text'), 'language_id' => HCms::t('labels', 'Language'), 'title' => HLib::t('labels', 'Title'), 'subtitle' => HLib::t('labels', 'Subtitle'), 'description' => HLib::t('labels', 'Description'), 'body' => HLib::t('labels', 'Body'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At')];
 }
Esempio n. 4
0
    ?>
            </ul>
        <?php 
}
?>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 1, "label" => HLib::t('labels', 'Date')], ["width" => 1, "label" => HCms::t('labels', 'Language')], ["width" => 5, "label" => HLib::t('labels', 'Title')], ["width" => 3, "label" => HLib::t('labels', 'Tags')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-1 <?php 
        echo $model->isEnabled() ? '' : 'disabled';
        ?>
">
                                <?php 
        echo $model->base->event_date;
        ?>
                            </div>
Esempio n. 5
0
    ?>
            </ul>
        <?php 
}
?>

        <?php 
if ($count) {
    ?>
            <?php 
    echo LinkPager::widget(['pagination' => $dataProvider->getPagination()]);
    ?>

            <ul class="list-group">
                <?php 
    echo GridListHeader::widget(['columns' => [["width" => 2, "label" => HCms::t('labels', 'Base tag')], ["width" => 1, "label" => HLib::t('labels', 'Language')], ["width" => 6, "label" => HLib::t('labels', 'Label')], ["width" => 1, "label" => HLib::t('labels', 'Nb ref.')], ["width" => 2, "label" => HLib::t('labels', 'Actions'), "cssClass" => "object-actions text-right"]]]);
    ?>

                <?php 
    foreach ($models as $model) {
        ?>
                    <li class="list-group-item">
                        <div class="row">
                            <div class="col-sm-2">
                                <?php 
        echo $model->base->code;
        ?>
                            </div>

                            <div class="col-sm-1">
                                <?php 
Esempio n. 6
0
        <h1><?php 
echo $this->title;
?>
</h1>
        <h2><?php 
echo Html::encode($model->title);
?>
</h2>
    </div>

    <div class="panel-body">

        <?php 
echo ViewButtons::widget(['modelId' => $model->id, 'controllerPath' => '/cms/web-pages']);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['title', 'meta_description', 'meta_keywords']]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => [['label' => HCms::t('labels', 'Language'), 'value' => $model->language->iso_639_code], ['label' => HCms::t('labels', 'Base page'), 'value' => ViewModelsList::widget(['models' => $model->base, 'labelField' => 'code', 'controllerRoute' => '/cms/base-pages', 'listType' => 'div']), 'format' => 'html'], ['label' => HCms::t('labels', 'Texts'), 'value' => ViewModelsList::widget(['models' => $relatedTexts, 'labelField' => 'title', 'controllerRoute' => '/cms/web-texts', 'listType' => 'div']), 'format' => 'html']]]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['created_at', 'updated_at']]);
?>

    </div>
</div>
Esempio n. 7
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['event_date' => HCms::t('labels', 'Event Date'), 'enabled' => HLib::t('labels', 'Enabled'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At'), 'baseTags' => HCms::t('labels', 'Base tags')];
 }
Esempio n. 8
0
</h1>
        <h2><?php 
echo Html::encode($model->code);
?>
</h2>
    </div>

    <div class="panel-body">

        <?php 
echo ViewButtons::widget(['modelId' => $model->id, 'controllerPath' => '/cms/base-tags']);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['code']]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => [['label' => HCms::t('labels', 'Web tags'), 'value' => ViewModelsList::widget(['models' => $model->webTags, 'controllerRoute' => '/cms/web-tags', 'labelCallback' => function (WebTag $tag) {
    $lang = $tag->language->iso_639_code;
    return "[{$lang}]&nbsp;&nbsp;" . $tag->label;
}]), 'format' => 'html']]]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['created_at', 'updated_at']]);
?>

    </div>
</div>
Esempio n. 9
0
use yii\bootstrap\Html;
use yii\helpers\Url;
/**
 *
 */
?>
<ul class="dropdown-menu" role="menu">
    <li><?php 
echo Html::a(HCms::t('labels', 'Pages'), Url::to(['/cms/web-pages/index'], true));
?>
</li>
    <li><?php 
echo Html::a(HCms::t('labels', 'Web texts'), Url::to(['/cms/web-texts/index'], true));
?>
</li>
    <li><?php 
echo Html::a(HCms::t('labels', 'Web news'), Url::to(['/cms/web-news/index'], true));
?>
</li>
    <li class="menu-separator"> </li>
    <li><?php 
echo Html::a(HCms::t('labels', 'Web tags'), Url::to(['/cms/web-tags/index'], true));
?>
</li>
    <li><?php 
echo Html::a(HCms::t('labels', 'Languages'), Url::to(['/cms/languages/index'], true));
?>
</li>
</ul>

Esempio n. 10
0
/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BaseNews;
use app\modules\cms\models\WebNews;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var WebNews      $model
 * @var BaseNews     $baseModel
 * @var array        $baseNews [BaseNews]
 * @var array        $languages [Language]
 */
$this->title = HCms::t('labels', 'Update news : {label}', ['label' => $model->base->event_date . ' - ' . $model->language->iso_639_code]);
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo $this->render('_form', compact('model', 'baseNews', 'languages', 'baseModel'));
?>
    </div>
</div>
Esempio n. 11
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['id' => HLib::t('labels', 'ID'), 'name' => HLib::t('labels', 'Name'), 'iso_639_code' => HCms::t('labels', 'Code'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At')];
 }
Esempio n. 12
0
            <?php 
echo Html::a(HLib::t('labels', 'Back to List'), Url::to(['/cms/web-pages/index']), ['class' => 'btn btn-primary']);
?>

            <?php 
echo Html::a(HLib::t('labels', 'Update'), Url::to(['/cms/base-pages/update', 'id' => $model->id]), ['class' => 'btn btn-success']);
?>

            <?php 
echo Html::a(HLib::t('labels', 'Delete'), Url::to(['/cms/base-pages/delete', 'id' => $model->id]), ['class' => 'btn btn-danger', 'data' => ['confirm' => HLib::t('messages', 'Are you sure you want to delete this item?'), 'method' => 'delete']]);
?>
        </div>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['code', 'route', 'redirect_to', 'menu_index']]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => [['label' => HCms::t('labels', 'Page parent'), 'value' => ViewModelsList::widget(['models' => $model->getParent()->one(), 'controllerRoute' => '/cms/base-pages', 'labelField' => 'code', 'listType' => 'div']), 'format' => 'html'], ['label' => HCms::t('labels', 'Pages'), 'value' => ViewModelsList::widget(['models' => $model->webPages, 'controllerRoute' => '/cms/web-pages', 'labelCallback' => function (WebPage $page) {
    $lang = $page->language->iso_639_code;
    return "[{$lang}]&nbsp;&nbsp;" . $page->title;
}]), 'format' => 'html']]]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => [['label' => HLib::t('labels', 'Enabled'), 'value' => hAssets::getImageTagForBoolean($model->enabled), 'format' => 'html'], 'created_at', 'updated_at']]);
?>

    </div>
</div>
Esempio n. 13
0
<?php

/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use yii\helpers\Html;
/**
 * @var $this yii\web\View
 * @var $model app\modules\cms\models\Language
 */
$this->title = HCms::t('labels', 'Update a language');
$formParameters = [];
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo $this->render('_form', ['model' => $model, 'parameters' => $formParameters]);
?>
    </div>
</div>
Esempio n. 14
0
<?php

/**
 * Fiche de consultation d'un objet
 */
use app\modules\cms\HCms;
use app\modules\hlib\widgets\ViewButtons;
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\cms\models\Language */
$this->title = HCms::t('labels', 'View language');
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo $this->title;
?>
</h1>
        <h2><?php 
echo Html::encode($model->name);
?>
</h2>
    </div>

    <div class="panel-body">

        <?php 
echo ViewButtons::widget(['modelId' => $model->id, 'controllerPath' => '/cms/languages']);
?>
Esempio n. 15
0
$this->title = HCms::t('labels', 'View news');
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($model->title);
?>
</h1>
    </div>

    <div class="panel-body">

        <?php 
echo ViewButtons::widget(['modelId' => $model->id, 'controllerPath' => '/cms/web-news']);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['title', 'description', ['label' => HCms::t('label', 'Body'), 'value' => $model->body, 'format' => 'html']]]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => [['label' => HLib::t('labels', 'Enabled'), 'value' => \app\modules\hlib\helpers\hAssets::getImageTagForBoolean($model->isEnabled()), 'format' => 'html'], ['label' => HCms::t('labels', 'Base news'), 'value' => ViewModelsList::widget(['models' => $model->base, 'labelField' => 'event_date', 'controllerRoute' => '/cms/base-news', 'listType' => 'div']), 'format' => 'html'], ['label' => HCms::t('labels', 'Language'), 'value' => $model->language->iso_639_code]]]);
?>

        <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['created_at', 'updated_at']]);
?>

    </div>
</div>
Esempio n. 16
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['base_id' => HCms::t('labels', 'Base tag'), 'language_id' => HCms::t('labels', 'Language'), 'label' => HLib::t('labels', 'Label'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At')];
 }
Esempio n. 17
0
        <?php 
if ($previous = $model->getPrevious()) {
    ?>
            <?php 
    echo Html::a('<span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span>&nbsp' . HCms::t('labels', 'Previous news'), Url::to(['/cms/web-news/show', 'id' => $previous->id, 'slug' => $previous->getSlug()]));
    ?>
        <?php 
}
?>
    </div>

    <div class="col-sm-4 text-center">
        <?php 
echo Html::a('<span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp' . HLib::t('labels', 'Home'), Url::to(['/site/index']));
?>
    </div>

    <div class="col-sm-4 text-right">
        <?php 
if ($next = $model->getNext()) {
    ?>
            <?php 
    echo Html::a(HCms::t('labels', 'Next news') . '&nbsp<span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>', Url::to(['/cms/web-news/show', 'id' => $next->id, 'slug' => $next->getSlug()]));
    ?>
        <?php 
}
?>
    </div>
</div>

Esempio n. 18
0
/**
 * Formulaire de création
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BaseNews;
use app\modules\cms\models\WebNews;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var WebNews      $model
 * @var BaseNews     $baseModel
 * @var array        $basePages [BaseNews]
 * @var array        $languages [Language]
 */
$this->title = HCms::t('labels', 'Create a new web news');
?>

<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo $this->render('_form', compact('model', 'baseNews', 'languages', 'baseModel'));
?>
    </div>
Esempio n. 19
0
<?php

/**
 * Formulaire de création
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BasePage;
use app\modules\cms\widgets\BasePageForm;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var BasePage     $model
 */
$this->title = HCms::t('labels', 'Create a new base page');
?>

<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo BasePageForm::widget(['model' => $model]);
?>
    </div>
</div>
Esempio n. 20
0
<?php

/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BasePage;
use app\modules\cms\widgets\BasePageForm;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var BasePage     $model
 */
$this->title = HCms::t('labels', 'Update a base page');
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo BasePageForm::widget(['model' => $model]);
?>
    </div>
</div>
Esempio n. 21
0
    </div>

    <div class="row">
        <div class="col-sm-4">
            <?php 
echo $form->field($model, 'menu_index')->textInput(['maxlength' => true]);
?>
        </div>
        <div class="col-sm-4">
            <?php 
echo $form->field($model, 'route')->textInput(['maxlength' => true])->hint($model->route ? HCms::t('labels', 'URL : {url}', ['url' => Url::to([$model->route], true)]) : '');
?>
        </div>
        <div class="col-sm-4">
            <?php 
echo $form->field($model, 'redirect_to')->textInput(['maxlength' => true])->hint($model->redirect_to ? HCms::t('labels', 'URL : {url}', ['url' => Url::to([$model->redirect_to], true)]) : '');
?>
        </div>
    </div>

    <?php 
echo $form->field($model, 'baseTexts')->listBox(ArrayHelper::map($baseTexts, 'id', 'code'), ['id' => 'base_texts_ids', 'multiple' => true]);
?>

    <?php 
if (!$asNestedForm) {
    ?>
        <div class="form-group">
            <?php 
    echo Html::submitButton(HLib::t('labels', 'Save'), ['class' => 'btn btn-success', 'name' => 'action', 'value' => 'save']);
    ?>
Esempio n. 22
0
/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BasePage;
use app\modules\cms\models\WebPage;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var WebPage      $model
 * @var BasePage     $baseModel
 * @var array        $basePages [BasePage]
 * @var array        $languages [Language]
 */
$this->title = HCms::t('labels', 'Update page : {title}', ['title' => $model->title]);
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo $this->render('_form', compact('model', 'basePages', 'languages', 'baseModel'));
?>
    </div>
</div>
Esempio n. 23
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['id' => HLib::t('labels', 'ID'), 'title' => HLib::t('labels', 'Title'), 'menu_title' => HCms::t('labels', 'Menu title'), 'meta_description' => HCms::t('labels', 'Meta Description'), 'meta_keywords' => HCms::t('labels', 'Meta Keywords'), 'base_id' => HCms::t('labels', 'Base page'), 'language_id' => HCms::t('labels', 'Language'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At')];
 }
Esempio n. 24
0
<?php

/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use app\modules\cms\models\BaseNews;
use app\modules\cms\widgets\BaseNewsForm;
use yii\helpers\Html;
/**
 * @var yii\web\View $this
 * @var BaseNews     $model
 */
$this->title = HCms::t('labels', 'Update base news : {label}', ['label' => $model->event_date]);
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo BaseNewsForm::widget(['model' => $model]);
?>
    </div>
</div>
Esempio n. 25
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ['code' => HLib::t('labels', 'Code'), 'base_page_id' => HCms::t('labels', 'Base page'), 'created_at' => HLib::t('labels', 'Created At'), 'updated_at' => HLib::t('labels', 'Updated At')];
 }
Esempio n. 26
0
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
use yii\redactor\widgets\Redactor;
use yii\widgets\ActiveForm;
/**
 * @var yii\web\View $this
 * @var WebNews      $model
 * @var BaseNews     $baseModel
 * @var array        $baseNews [BaseNews]
 * @var array        $languages [Language]
 *
 * @var ActiveForm   $form
 */
// Quand la news/racine sélectionnée est modifiée, on recharge le sous-formulaire associé
// NB : il faut aussi recharger le select2 associé à cette liste déroulante
$placeHolderMsg = HCms::t('messages', 'Select associated base tags if necessary');
$this->registerJs("\n    \$('#webnews-base_id').change(function() {\n        var url = '/cms/base-news/get-form/' + \$(this).val();\n        \$('#base-model-display').load(url, function() {\n            \$('#base_tags_ids').select2({\n                placeholder: \"{$placeHolderMsg}\",\n                tags: true\n            });\n        });\n    });\n");
?>

<div class="backend-form">

    <?php 
$form = ActiveForm::begin();
?>

    <?php 
echo $form->field($model, 'base_id')->dropDownList(ArrayHelper::map($baseNews, 'id', 'event_date'), ['prompt' => HLib::t('messages', 'Select a value in the list')]);
?>

    <fieldset id="base-model-display">
        <?php 
Esempio n. 27
0
use yii\widgets\ActiveForm;
/**
 * @var yii\web\View $this
 * @var BaseNews     $model
 * @var array        $baseTags [BaseTag]
 * @var boolean      $asNestedForm
 *
 * @var ActiveForm   $form
 */
if (!isset($noButtons)) {
    $noButtons = false;
}
// Ajout du Select2 pour gérer les tags
$this->registerJs('
    $(\'#base_tags_ids\').select2({
        placeholder: "' . HCms::t('messages', 'Select associated base tags if necessary') . '",
        tags: true
    });
');
?>
<div class="backend-form">

    <?php 
$form = ActiveForm::begin();
?>

    <div class="row">
        <div class="col-sm-6">
            <?php 
echo $form->field($model, 'enabled')->textInput()->checkbox();
?>
Esempio n. 28
0
 /**
  * @return array
  */
 public function attributeLabels()
 {
     return ['title' => hLib::t('labels', 'Title'), 'body' => hLib::t('labels', 'Text'), 'tagId' => HCms::t('labels', 'Tag')];
 }
Esempio n. 29
0
<?php

/**
 * Formulaire de mise à jour
 */
use app\modules\cms\HCms;
use app\modules\cms\widgets\BaseTextForm;
use yii\helpers\Html;
/**
 * @var $this yii\web\View
 * @var $model app\modules\cms\models\BaseText
 */
$this->title = HCms::t('labels', 'Update a base text');
?>
<div class="row panel panel-default">
    <div class="panel-heading">
        <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    </div>

    <div class="panel-body">
        <?php 
echo BaseTextForm::widget(['model' => $model]);
?>
    </div>
</div>
Esempio n. 30
0
use Carbon\Carbon;
use yii\data\ActiveDataProvider;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\LinkPager;
/**
 * @var yii\web\View       $this
 * @var ActiveDataProvider $dataProvider
 * @var string             $sortClausesSessionKey
 * @var WebTag             $filteringTag
 * @var WebNewsSearch      $searchModel
 * @var array              $tags [Tag]
 */
$this->title = HCms::t('labels', 'News list');
$this->params['breadcrumbs'][] = HCms::t('labels', 'Web news');
$this->registerMetaTag(['description' => HCms::t('labels', $this->title)]);
$count = $dataProvider->getTotalCount();
/**
 * @var array   $models
 * @var WebNews $model
 */
$models = $dataProvider->getModels();
?>
<div class="row">
    <div class="col-sm-12">
        <?php 
echo $this->render('/web-news/_frontendSearchForm', ['model' => $searchModel, 'tags' => $tags]);
?>
    </div>
</div>