group.html 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <fieldset class="admin__field"
  8. visible="visible"
  9. css="_required: required"
  10. attr="'data-index': index">
  11. <legend class="admin__field-label" if="showLabel">
  12. <span translate="label" attr="'data-config-scope': $data.scopeLabel"/>
  13. </legend>
  14. <div class="admin__field-control" css="$data.additionalClasses">
  15. <each args="elems">
  16. <if args="visible()" if="!$data.additionalForGroup">
  17. <render args="$parent.fieldTemplate" if="element.input_type != 'checkbox' || element.input_type != 'radio'"/>
  18. <render args="elementTmpl" if="element.input_type == 'checkbox' || element.input_type == 'radio'"/>
  19. </if>
  20. </each>
  21. <each args="getRegion('insideGroup')" render=""/>
  22. <each args="elems" if="validateWholeGroup">
  23. <if args="!$data.additionalForGroup">
  24. <label class="admin__field-error" if="error() && visible()" attr="for: uid" text="error"/>
  25. </if>
  26. </each>
  27. </div>
  28. <each args="getRegion('outsideGroup')" render=""/>
  29. </fieldset>