27 lines
714 B
Smarty
27 lines
714 B
Smarty
{{ define "content" }}
|
|
|
|
<div class="container">
|
|
|
|
{{template "breadcrumb" toSlice "ELEMENTS" (all "Participant") (.Data|string) "current"}}
|
|
{{template "show_header" dict "title" (.Data|string) "updatePath" (.Data.ID|update "Participant") "deletePath" (.Data.ID|delete "Participant")}}
|
|
|
|
<h2 class="karmen-relation-header">GENERAL SECTION</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
|
|
{{$options := `
|
|
title: "RELATIONS"
|
|
model: "MODEL"
|
|
icon: "ICON_CLASS"
|
|
`}}
|
|
|
|
{{$noElements := "NO ELEMENTS"}}
|
|
{{template "relation_list" dict "options" ($options|yaml) "data" .Data.RELATIONS "noElements" $noElements}}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|