Skip to content

Commit

Permalink
Merge pull request #232 from humhub/enh/372-bs5-active-form
Browse files Browse the repository at this point in the history
[v1.17] Update Active Form for Bootstrap 5
  • Loading branch information
luke- committed Sep 25, 2024
2 parents 5313ad8 + 1bae975 commit dc65df7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: PHP CS Fixer
on: push

jobs:
tests:
fixers:
uses: humhub/actions/.github/workflows/module-php-cs-fixer.yml@main
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
- Enh #227: Use PHP CS Fixer
- Fix: Add autofocus on file or folder edit (for HumHub 1.17 - see https://github.com/humhub/humhub/issues/7136)
- Fix #230: Optimize sql query to get files from the stream
- Enh #232: Update Active Form for Bootstrap 5

0.16.6 - March 14, 2024
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion views/config-container/index.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

use humhub\modules\cfiles\models\ConfigureForm;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ContentHiddenCheckbox;
use humhub\widgets\Button;
use yii\bootstrap\ActiveForm;

/* @var $model ConfigureForm */
?>
Expand Down
2 changes: 1 addition & 1 deletion views/config/index.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

use humhub\modules\cfiles\models\ConfigureForm;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ContentHiddenCheckbox;
use humhub\widgets\Button;
use yii\bootstrap\ActiveForm;

/* @var $model ConfigureForm */
?>
Expand Down
2 changes: 1 addition & 1 deletion views/edit/modal_edit_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

use humhub\modules\content\widgets\richtext\RichTextField;
use humhub\modules\topic\widgets\TopicPicker;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ContentHiddenCheckbox;
use humhub\modules\ui\form\widgets\ContentVisibilitySelect;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;
use yii\bootstrap\ActiveForm;

/* @var $file \humhub\modules\cfiles\models\File */
/* @var $submitUrl string */
Expand Down
2 changes: 1 addition & 1 deletion views/edit/modal_edit_folder.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ContentHiddenCheckbox;
use humhub\modules\ui\form\widgets\ContentVisibilitySelect;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;
use yii\bootstrap\ActiveForm;

/* @var $folder \humhub\modules\cfiles\models\Folder */
/* @var $submitUrl string */
Expand Down
4 changes: 2 additions & 2 deletions views/move/modal_move.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use humhub\modules\cfiles\models\forms\MoveForm;
use humhub\widgets\ActiveForm;
use humhub\modules\ui\form\widgets\ActiveForm;
use humhub\widgets\ModalButton;
use humhub\widgets\ModalDialog;

Expand Down Expand Up @@ -34,4 +34,4 @@
</div>
<?php ActiveForm::end() ?>

<?php ModalDialog::end()?>
<?php ModalDialog::end()?>

0 comments on commit dc65df7

Please sign in to comment.