Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Implement `Field` question type for new GLPI forms

### Fixed

- Align the fields of the plugin with the user form

## [1.22.2] - 2025-10-24

### Fixed
Expand Down
8 changes: 7 additions & 1 deletion templates/fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@

{% if not already_wrapped and not dropdown_item%}

{% set class = item.isNewItem() ? 'col-xxl-12' : 'col-xxl-9' %}
{% set class = item.isNewItem() or item is instanceof('User') ? 'col-xxl-12' : 'col-xxl-9' %}
Comment thread
MyvTsv marked this conversation as resolved.
<div class="col-12 {{ class }} flex-column">
<div class="d-flex flex-row flex-wrap flex-xl-nowrap">
<div class="row flex-row align-items-start flex-grow-1">
<div class="row flex-row">
{% if item.isNewItem() and item is instanceof('User') %}
<div>
{% endif %}
{% endif %}

{% for field in fields %}
Expand Down Expand Up @@ -215,6 +218,9 @@

{% if not already_wrapped and not dropdown_item%}

{% if item.isNewItem() and item is instanceof('User') %}
</div>
{% endif %}
</div>
</div>
</div>
Expand Down