dynamic Sidebar form v3 (SidebarWidget)
Dynamic Nationality 4 Insurance
This commit is contained in:
parent
8b2ec705c9
commit
88360eabb7
33 changed files with 604 additions and 275 deletions
|
|
@ -0,0 +1,19 @@
|
|||
{# @var page \AppBundle\Entity\Page #}
|
||||
<div id="sidebar" class="col-md-3 col-sm-12 col-xs-12">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-md-12">
|
||||
{% for widget in widgets %}
|
||||
{% if widget.component is defined %}
|
||||
{% include 'default/components/sidebar/' ~ widget.component ~ '.html.twig' %}
|
||||
{% if(loop.index == loop_half ) %}
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-12">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<hr class="visible-sm visible-xs">
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue