28 lines
705 B
Smarty
28 lines
705 B
Smarty
|
{{ define "content" }}
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
{{template "breadcrumb" toSlice "ELEMENTS" (all "Category") (.Data|string) "current"}}
|
||
|
{{template "show_header" dict "title" (.Data|string) "updatePath" (.Data.ID|update "Category") "deletePath" (.Data.ID|delete "Category")}}
|
||
|
|
||
|
<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 }}
|