您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
1.0KB

  1. {% extends '@LcSov/adminlte/layout.html.twig' %}
  2. {% block content_title %}
  3. {{ 'account.profile'|sov_trans_admin_title }}
  4. {% endblock %}
  5. {% block main %}
  6. <div class="col-8">
  7. {% set form_id = 'form-user-profile' %}
  8. {% embed '@LcSov/adminlte/embed/card.html.twig' %}
  9. {% block header_wrapper %}{% endblock %}
  10. {% block body %}
  11. {% form_theme form '@LcSov/adminlte/crud/form_theme.html.twig' %}
  12. {{ form_start(form, {'attr' : {'id' : form_id}}) }}
  13. {{ form(form) }}
  14. {{ form_end(form) }}
  15. {% endblock %}
  16. {% block footer_wrapper %}{% endblock %}
  17. {% endembed %}
  18. </div>
  19. {% embed '@LcSov/adminlte/embed/form_footer.html.twig' %}
  20. {% block width %}12{% endblock %}
  21. {% block content %}
  22. {% import '@LcSov/adminlte/macro/button.html.twig' as mbutton %}
  23. {{ mbutton.button({form: form_id, icon: 'fa fa-check'}) }}
  24. {% endblock %}
  25. {% endembed %}
  26. {% endblock main %}