Skip to content

Commit

Permalink
Update Active Form for Bootstrap 5 (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin authored Sep 25, 2024
1 parent 2bb9346 commit ef6774e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Changelog
- Fix #412: Fix active message after mark unread
- Fix #15: When replying to a message, the conversation is marked as unread
- Enh #417: Replace theme variables with CSS variables
- Enh #418: Update Active Form for Bootstrap 5

3.2.2 (July 9, 2024)
--------------------
Expand Down
2 changes: 1 addition & 1 deletion views/config/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use humhub\libs\Html;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\widgets\Button;
use yii\bootstrap\ActiveForm;

/* @var $model \humhub\modules\mail\models\Config */
?>
Expand Down
2 changes: 1 addition & 1 deletion views/mail/adduser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use yii\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\widgets\ModalDialog;
use humhub\modules\user\widgets\UserPickerField;
use humhub\widgets\ModalButton;
Expand Down
2 changes: 1 addition & 1 deletion views/mail/editEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
use humhub\modules\file\widgets\UploadProgress;
use humhub\modules\mail\models\MessageEntry;
use humhub\modules\mail\widgets\MailRichtextEditor;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\widgets\Button;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;
use yii\bootstrap\ActiveForm;

/* @var $entry MessageEntry */
/* @var $fileHandlers BaseFileHandler[] */
Expand Down
4 changes: 2 additions & 2 deletions views/tag/editConversationTagsModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
use humhub\modules\mail\helpers\Url;
use humhub\modules\mail\models\forms\ConversationTagsForm;
use humhub\modules\mail\widgets\ConversationTagPicker;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\view\components\View;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;
use yii\bootstrap\ActiveForm;

/* @var $this View */
/* @var $model ConversationTagsForm */
Expand All @@ -30,4 +30,4 @@

</div>
<?php ActiveForm::end() ?>
<?php ModalDialog::end() ?>
<?php ModalDialog::end() ?>
2 changes: 1 addition & 1 deletion views/tag/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
use humhub\modules\mail\helpers\Url;
use humhub\modules\mail\models\forms\AddTag;
use humhub\modules\mail\models\MessageTag;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\view\components\View;
use humhub\widgets\Button;
use humhub\widgets\GridView;
use humhub\widgets\ModalButton;
use yii\bootstrap\ActiveForm;
use yii\data\ActiveDataProvider;
use yii\grid\ActionColumn;
use yii\helpers\Html;
Expand Down

0 comments on commit ef6774e

Please sign in to comment.