Skip to content

Commit

Permalink
[docs] Devdocs Bootstrap forms refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Jan 4, 2024
1 parent 0046c93 commit c1354b5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/devupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,33 @@ could be replaced with:

:::

- The `.form-group` helper class has been replaced with margins.
- The `.form-inline` helper class has been replaced with utility classes.

:::info Form refactor example

The following code:

```html
<form class="form-inline">
<div class="form-group">
[...]
</div>
</form>
```

could be replaced with:

```html
<form class="d-flex flex-wrap align-items-center">
<div class="mb-3">
[...]
</div>
</form>
```

:::

## Previous versions

- [Moodle 4.3 developer update](./4.3/devupdate)
Expand Down

0 comments on commit c1354b5

Please sign in to comment.