Skip to content

Commit

Permalink
Dev: moved nav_bar, progress_bar and start form to header/
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Dec 4, 2017
1 parent 9862243 commit 593bd0b
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions themes/survey/vanilla/views/layout_global.twig
Expand Up @@ -92,12 +92,12 @@

{# Bootstrap Navigation Bar: the top menu #}
{% block nav_bar %}
{{ include('./subviews/nav_bar.twig') }}
{{ include('./subviews/header/nav_bar.twig') }}
{% endblock %}

{# Top Container: in this template, it contains only #}
{% block progress %}
{{ include('./subviews/progess_bar.twig') }}
{{ include('./subviews/header/progess_bar.twig') }}
{% endblock %}

<!-- Outer Frame Container -->
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/layout_user_forms.twig
Expand Up @@ -25,7 +25,7 @@
<body class="{{ aSurveyInfo.class.body }} lang-{{surveylanguage}} {{surveyformat}}" {{ aSurveyInfo.attr.body }}>

{# Bootstrap Navigation Bar: the top menu #}
{{ include('./subviews/nav_bar.twig') }}
{{ include('./subviews/header/nav_bar.twig') }}


<!-- Outer Frame Container -->
Expand Down
4 changes: 2 additions & 2 deletions themes/survey/vanilla/views/subviews/content/firstpage.twig
Expand Up @@ -12,13 +12,13 @@
(¯`·._.·(¯`·._.· Content First Page ·._.·´¯)·._.·´¯)
This content is included inside mainrow.twig
#}

{# render the layout_global content block #}

{# Include the form opening tag #}
{{ include('./subviews/start_form.twig') }} <!-- main form -->
{{ include('./subviews/header/start_form.twig') }} <!-- main form -->

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/main.twig
Expand Up @@ -21,7 +21,7 @@
}
{# Include the form opening tag #}
{{ include('./subviews/start_form.twig') }} <!-- main form -->
{{ include('./subviews/header/start_form.twig') }} <!-- main form -->

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/quotas.twig
Expand Up @@ -24,7 +24,7 @@


{# Include the form opening tag #}
{{ include('./subviews/start_form.twig') }} <!-- main form -->
{{ include('./subviews/header/start_form.twig') }} <!-- main form -->

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/save.twig
Expand Up @@ -34,7 +34,7 @@


{# Include the form opening tag #}
{{ include('./subviews/start_form.twig') }} <!-- main form -->
{{ include('./subviews/header/start_form.twig') }} <!-- main form -->

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/content/submit.twig
Expand Up @@ -26,7 +26,7 @@

{# include the form opening tag #}
<!-- main form -->
{{ include('./subviews/start_form.twig') }}
{{ include('./subviews/header/start_form.twig') }}

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}
Expand Down
Expand Up @@ -22,7 +22,7 @@

{# include the form opening tag #}
<!-- main form -->
{{ include('./subviews/start_form.twig') }}
{{ include('./subviews/header/start_form.twig') }}


<div class="{{ aSurveyInfo.class.previewsubmit }}" {{ aSurveyInfo.attr.previewsubmit }}>
Expand Down

0 comments on commit 593bd0b

Please sign in to comment.