templates/pages/account/verifyEmail.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/common/default.html.twig' %}
  2. {% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'common', section: 'sim'} %}
  3. {% set page_title = 'subscription.verify_email'|trans %}
  4. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  5. {% set page_h1 = "subscription.update_email"|trans %}
  6. {% else %}
  7. {% set page_h1 = "subscription.enter_email"|trans %}
  8. {% endif %}
  9. {% block content %}
  10. <h1 class="is-H1">{{ 'user.register'|trans }}</h1>
  11. <h2 class="is-H3">{{ page_title }}</h2>
  12. <form class="is-AccountForm is-Panel" method="post" name="phoneCode">
  13. <div class="is-row">
  14. <div class="is-col-xs-12 is-col-sm-6 is-col-md-6 is-col-lg-6">
  15. <div class="is-Field is-LabelledInput">
  16. <input class="is-LabelledInput-Input" id="is-VerifForm-Email" name="email" required="true" type="text"/>
  17. <label class="is-LabelledInput-Label" for="is-VerifForm-Email">{{ 'subscription.email' | trans }}<span class="is-LabelledInput-Label_Required">*</span></label>
  18. </div>
  19. <input type="hidden" name="token" value="{{ csrf_token('verifyEmail') }}"/>
  20. {% if sim_cos_url is defined and sim_cos_url != '' %}
  21. <p><a target="_blank" href="{{ sim_cos_url }}">{{ 'cos_link' | trans }}</a></p>
  22. {% endif %}
  23. {% for type, flashes in app.session.flashbag.all %}
  24. {% for flash in flashes %}
  25. <div class="is-Field">
  26. <div class="is-Alert is-Alert_{{ type|capitalize }} is-Alert_Dismissible is-show" role="alert">
  27. {{ flash }}
  28. <button type="button" class="is-Close" data-dismiss="alert" aria-label="{{ 'close' | trans }}">
  29. <span aria-hidden="true">&times;</span>
  30. </button>
  31. </div>
  32. </div>
  33. {% endfor %}
  34. {% endfor %}
  35. <button class="is-Button is-Button_Primary is-Button_Create_User" type="submit" id="send">{{ 'subscription.send' | trans }}</button>
  36. </div>
  37. </div>
  38. </form>
  39. {% endblock %}
  40. {% block body_end_scripts_requirements %}
  41. <script>
  42. $(document).ready(function(){
  43. $('.is-LabelledInput-Input').isLabelledInput();
  44. });
  45. </script>
  46. {% endblock %}