open-consul/ui/packages/consul-nspaces/app/components/consul/nspace/form
Valeriia Ruban d01ee172ea
[UI] CC-4031: change from Action, a and button to hds::Button (#16251)
2023-02-22 13:05:15 -08:00
..
README.mdx ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
index.hbs [UI] CC-4031: change from Action, a and button to hds::Button (#16251) 2023-02-22 13:05:15 -08:00
index.js ui: chore - upgrade ember and friends (#14518) 2022-09-15 09:43:17 +01:00

README.mdx

# Consul::Nspace::Form

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