{{define "title"}}Configuration - Administration - Arcad{{end}} {{define "body"}} {{- block "head_style" . -}} {{end}} {{template "header" .}}
{{template "admin_menu" "config"}}
{{template "flash" .}}

Réglages

{{ .csrfField }} {{ $settings := .Settings }} {{range $id, $meta := .Metadatas}} {{ $se := $settings.Get $id }} {{ $data := createMap "ID" $id "Setting" $se "Meta" $meta }} {{if eq $meta.ValueType "password"}} {{template "password_setting" $data}} {{else if eq $meta.ValueType "markdown"}} {{template "markdown_setting" $data}} {{end}} {{end}}

{{end}} {{define "body_script"}} {{end}} {{template "base" .}} {{define "password_setting"}}
{{end}} {{define "markdown_setting"}}
{{end}}