}
    {{- $parent := printf "nav-%d" .Parent.Ordinal -}}
    {{- with (.Parent.Get "id") }}{{ $parent = . }}{{ end -}}

    {{- $fade := $args.fade -}}
    {{- $parentFade := false }}
    {{- if isset .Parent.Params "fade" }}{{ $parentFade = partial "utilities/CastBool.html" (.Parent.Get "fade") }}{{ end -}}
    {{- $fade = or $fade $parentFade -}}
    {{- $title := or $args.title $args.header -}}
    {{- $itemID := printf "%s-btn-%d" $parent $id }}
    {{- $disabledID := cond $args.disabled $itemID "" }}
 