| 1 | {% extends "::base.html.twig" %} |
| 2 | |
| 3 | {% block title %}{{ parent() }}user / {% endblock %} |
| 4 | |
| 5 | {% block header %} |
| 6 | {{ parent() }} |
| 7 | <link rel="stylesheet" href="{{ asset('mixstore/css/user/common.css') }}"> |
| 8 | <link rel="stylesheet" href="{{ asset('mixstore/css/form.css') }}"> |
| 9 | {% endblock %} |
| 10 | |
| 11 | {% block content %} |
| 12 | |
| 13 | {% for type, messages in app.session.flashbag.all() %} |
| 14 | {% for key, message in messages %} |
| 15 | <div class="row"> |
| 16 | <div class="col-xs-12 flash-message"> |
| 17 | {{ message|trans({}, 'FOSUserBundle') }} |
| 18 | </div> |
| 19 | </div> |
| 20 | {% endfor %} |
| 21 | {% endfor %} |
| 22 | |
| 23 | {% if form is defined %} |
| 24 | {% form_theme form ':Form:fields.html.twig' %} |
| 25 | {% endif %} |
| 26 | |
| 27 | {% block fos_user_content %} |
| 28 | {% endblock fos_user_content %} |
| 29 | |
| 30 | {% endblock %} |
| 31 | |
| 32 | {% block javascripts %} |
| 33 | {{ parent() }} |
| 34 | <script> |
| 35 | $(document).ready(function() { |
| 36 | $('label').addClass('col-sm-2 control-label'); |
| 37 | }); |
| 38 | </script> |
| 39 | {% endblock %} |