open-consul/ui/packages/consul-partitions/app/components/consul/partition/form
Ronald 6bcb98ea71
Add UI copyright headers files (#16614)
* Add copyright headers to UI files

* Ensure copywrite file ignores external libs
2023-03-14 09:18:55 -04:00
..
README.mdx ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00

README.mdx

# Consul::Partition::Form

```hbs preview-template
<DataLoader @src={{
  uri '/${partition}/${nspace}/${dc}/partition/${id}'
    (hash
      partition='partition'
      nspace='nspace'
      dc='dc'
      id=''
    )
  }}
as |loader|>
  <BlockSlot @name="loaded">
    <Consul::Partition::Form
      @item={{loader.data}}
      @dc={{'dc-1'}}
      @nspace={{'nspace'}}
      @partition={{'partition'}}
      @onsubmit={{noop}}
    />
  </BlockSlot>
</DataLoader>
```