open-consul/ui/packages/consul-partitions/app/components/consul/partition/form
John Cowen 75343efcc9
ui: Prefer shorter partition word in certain places vs Admin Partition (#11772)
2021-12-13 15:04:35 +00:00
..
README.mdx ui: Adds initial CRUD for partitions (#11188) 2021-10-08 16:29:30 +01:00
index.hbs ui: Prefer shorter partition word in certain places vs Admin Partition (#11772) 2021-12-13 15:04:35 +00: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>
```