Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
* 7.1:
  [WebProfilerBundle] Fix Twig deprecations
  • Loading branch information
nicolas-grekas committed Nov 19, 2024
2 parents e78b07a + 6f26474 commit 8843019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Resources/views/Collector/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -458,31 +458,31 @@
</div>
</div>

<div class="tab {{ data.submitted_data ?? [] is empty ? 'disabled' }}">
<div class="tab {{ (data.submitted_data ?? []) is empty ? 'disabled' }}">
<h3 class="tab-title">Submitted Data</h3>

<div class="tab-content">
{{ _self.render_form_submitted_data(data) }}
</div>
</div>

<div class="tab {{ data.passed_options ?? [] is empty ? 'disabled' }}">
<div class="tab {{ (data.passed_options ?? []) is empty ? 'disabled' }}">
<h3 class="tab-title">Passed Options</h3>

<div class="tab-content">
{{ _self.render_form_passed_options(data) }}
</div>
</div>

<div class="tab {{ data.resolved_options ?? [] is empty ? 'disabled' }}">
<div class="tab {{ (data.resolved_options ?? []) is empty ? 'disabled' }}">
<h3 class="tab-title">Resolved Options</h3>

<div class="tab-content">
{{ _self.render_form_resolved_options(data) }}
</div>
</div>

<div class="tab {{ data.view_vars ?? [] is empty ? 'disabled' }}">
<div class="tab {{ (data.view_vars ?? []) is empty ? 'disabled' }}">
<h3 class="tab-title">View Vars</h3>

<div class="tab-content">
Expand Down

0 comments on commit 8843019

Please sign in to comment.