examples/hardware/form/Location.yaml

Summary

Maintainability
Test Coverage
title: Location
description: This creates a new location where hardware is deployed.

items:
  - $extend: /model/Location
  - $extend: /smw_template/NetworkPrinterHeader
    showForm: true # True by default, can be ommited
    showPage: true # True by default, can be ommited
  - type: array
    items:
      $extend: /model/NetworkPrinterInstallation
  - $extend: /smw_template/NetworkScannerHeader
  - type: array
    items:
      $extend: /model/NetworkScannerInstallation
  - $extend: /smw_template/MultiFunctionUnitHeader
  - items:
      # Note that the type: array declaration can be ommited too, since its implicit
      $extend: /model/MultiFunctionUnitInstallation

sf_forminfo:
  create title: Create a new location
  edit title: Edit a location