Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Feb 7, 2023
1 parent 72b2104 commit 814de16
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions app/Resources/views/default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,15 @@
{% endif %}
</div>
</div>
{% endif %}
{% if app.user.beneficiary and member | uptodate %}
<div id="home-shifts" class="row">
<div class="col s12">
{# why render instead of include? because of forms init #}
{{ render(controller("AppBundle:Booking:homepageShifts")) }}

{% if member | uptodate %}
<div id="home-shifts" class="row">
<div class="col s12">
{# why render instead of include? because of forms init #}
{{ render(controller("AppBundle:Booking:homepageShifts")) }}
</div>
</div>
</div>
{% endif %}
{% endif %}
{% else %}
<br>
Expand Down

0 comments on commit 814de16

Please sign in to comment.