<div class="input-group margin-bottom"> <span class="input-group-addon" id="basic-addon1">Метки</span> <?php echo Html::textInput('tags', '', array('id' => 'tokenfield', 'data-tokens' => '', 'class' => 'form-control')); ?> </div> <div class="form-group"> <?php echo Html::submitButton(Lang::t('page/listAdd', 'buttonAdd'), ['class' => 'btn btn-primary', 'name' => 'list-add-button']); ?> </div> <?php ActiveForm::end(); ?> </div> </div> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_MUSIC, 'musics' => $musics]); ?> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_IMG, 'imgs' => $userImgs]); ?> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_EDIT_MUSIC]); ?> </div>
?> </span> <?php echo Html::textInput('tags', $tagValue, ['id' => 'tokenfield', 'data-tokens' => $tagValue, 'class' => 'form-control']); ?> </div> <div class="form-group"> <?php echo Html::submitButton(Lang::t('page/schoolEdit', 'buttonSave'), ['class' => 'btn btn-primary', 'name' => 'list-add-button']); ?> <?php echo Html::a(Lang::t('page/schoolEdit', 'buttonCancel'), $school->getUrl(), ['class' => 'btn btn-default pull-right']); ?> </div> <?php ActiveForm::end(); ?> </div> </div> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_IMG, 'imgs' => $userImgs]); ?> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_LOCATION, 'setLocationType' => 'school']); ?> </div>
<div class="block-imgs"> <?php foreach ($imgs as $img) { ?> <div class="img-input-group block-img-add" data-id="<?php echo $img->id; ?> " data-url="<?php echo $img->short_url; ?> "> <?php echo Html::tag('div', Html::tag('div', '', ['style' => "background-image:url('{$img->short_url}')", 'class' => 'background-img']), ['class' => 'img-input-group']); ?> </div> <?php } ?> </div> </div> <?php } ?> </div> </div> <?php if ($isThisUser) { echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_AVATAR]); }
<div class="input-group margin-bottom"> <span class="input-group-addon"><?php echo Lang::t('page/eventEdit', 'tags'); ?> </span> <?php echo Html::textInput('tags', $tagValue, ['id' => 'tokenfield', 'data-tokens' => $tagValue, 'class' => 'form-control']); ?> </div> <div class="form-group"> <?php echo Html::submitButton(Lang::t('page/eventEdit', 'buttonAdd'), ['class' => 'btn btn-primary', 'name' => 'list-add-button']); ?> </div> <?php ActiveForm::end(); ?> </div> </div> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_IMG, 'imgs' => $userImgs]); ?> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ADD_LOCATION]); ?> </div>
</div> <div class="modal-body"> <?php echo Lang::t('page/eventView', 'deleteConfirm'); ?> </div> <div class="modal-footer"> <a href="<?php echo Url::to(['events/delete', 'id' => $event->id]); ?> " type="button" class="btn btn-danger"><?php echo Lang::t('page/eventView', 'deleteBtn'); ?> </a> <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo Lang::t('page/eventView', 'cancel'); ?> </button> </div> </div> </div> </div> <?php echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_ALARM, 'id' => $event->id]); echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_SHOW_IMG]); echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_SHOW_LOCATION]); echo ModalDialogsWidget::widget(['action' => ModalDialogsWidget::ACTION_MODAL_SHOW_VIDEO]);