14 lines
417 B
HTML
14 lines
417 B
HTML
<section class="category" data-testid="category-{{.ID}}">
|
|
<h3>{{.Name}}</h3>
|
|
<div class="role-container">
|
|
{{ range $_, $role := .Roles }} {{template "components/role" $role}} {{end}}
|
|
{{ if eq .Type "single" }}
|
|
<input
|
|
type="radio"
|
|
name="{{roleInputName .ID}}"
|
|
id="{{roleInputID .ID .ID}}"
|
|
/>
|
|
<label for="{{roleInputID .ID .ID}}">None</label>
|
|
{{ end }}
|
|
</div>
|
|
</section>
|