Commit 45d2aa12fc054e3a8a638c36f8d6cc9664710970
1 parent
4d8f82ea
stock map
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
views/city/_form.php
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | /* @var $form yii\widgets\ActiveForm */ | 9 | /* @var $form yii\widgets\ActiveForm */ |
| 10 | /* @var $modelLangs artbox\stock\models\CityLang */ | 10 | /* @var $modelLangs artbox\stock\models\CityLang */ |
| 11 | 11 | ||
| 12 | - //\artbox\stock\assets\StockAsset::register($this); | 12 | + \artbox\stock\assets\StockAsset::register($this); |
| 13 | \artbox\stock\assets\MapAsset::register($this); | 13 | \artbox\stock\assets\MapAsset::register($this); |
| 14 | ?> | 14 | ?> |
| 15 | 15 |
views/city/_form_language.php
| @@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
| 23 | ); | 23 | ); |
| 24 | echo $attributeField; | 24 | echo $attributeField; |
| 25 | ?> | 25 | ?> |
| 26 | - | 26 | + <div id="map_canvas" style="height: 300px;"></div> |
| 27 | <?= SlugifyDecorator::decorate( | 27 | <?= SlugifyDecorator::decorate( |
| 28 | $form->field($model_lang, '[' . $language->id . ']aliasValue'), | 28 | $form->field($model_lang, '[' . $language->id . ']aliasValue'), |
| 29 | [ '/alias/slugify' ], | 29 | [ '/alias/slugify' ], |