{{define "title"}}Configuration - Administration - Arcad{{end}} {{define "body"}} {{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"}}