Skip to content

Commit

Permalink
Dev: first page layout adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Feb 20, 2017
1 parent 223d39a commit b71100e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion templates/default/views/layout_first_page.twig
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,27 @@
{# include the various Warnings (preview mode, unanswered mandatory questions, etc) #}
{{ include('./subviews/warnings.twig') }}


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

{# This will display the script and the hidden inputs needed for Expression Manager #}
{{ aSurveyInfo.EM.ScriptsAndHiddenInputs }}

{# include the alert for no javascrit #}
{{ include('./subviews/no_js_alert.twig') }}

{# If survey mode is "All in One", it will add the welcome/privacy messages if needed #}
{{ include('welcome.twig') }}

{% if(aSurveyInfo.anonymized) == "Y" %}
{{ include('privacy.twig') }}
{% endif %}

{# Presents the navigator #}
{% if aSurveyInfo.aNavigator.show %}
{{ include('./navigator.twig') }}
{% endif %}
</form> <!-- main form -->
</div> <!-- main col -->
</div> <!-- main row -->
</div> <!-- outer frame container -->
Expand Down

0 comments on commit b71100e

Please sign in to comment.