open-consul/ui/packages/consul-nspaces/app/components/consul/nspace/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: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.js Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04: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>
```