mopa_bootstrap.yaml 819 B

123456789101112131415161718192021222324
  1. # see https://github.com/phiamo/MopaBootstrapBundle/blob/master/Resources/doc/misc/configuration-reference.md
  2. mopa_bootstrap:
  3. # Adds twig form theme support
  4. # horizontal_label_class: 'aa'
  5. # horizontal_input_wrapper_class: 'dd'
  6. menu: ~ # enables twig helpers for menu
  7. form:
  8. show_legend: true # default is true
  9. show_child_legend: false # default is true
  10. error_type: block # or inline which is default
  11. render_optional_text: true
  12. collection:
  13. widget_remove_btn:
  14. icon: trash
  15. attr:
  16. class: btn btn-danger
  17. widget_add_btn:
  18. icon: plus-sign
  19. attr:
  20. class: btn btn-primary
  21. icons:
  22. icon_set: fontawesome4
  23. shortcut: icon