//~OPTIONS
{
  extends: "fcfManagement:/templates/pages/base.tmpl",
  access:   ["root"],
}

//~ARGUMENTS
{
  title: "HTML header",
}

//~TEMPLATE menu
@{{
  render.template("@controls:menu", {
    root:           "/fcfpackages/fcfManagement/system",
    current:        route.uri,
    enableRoot:     true,
  })
}}@


//~ARGUMENTS body
{
  header: fcf.argProg(),
}

//~TEMPLATE body
<div class="fcf-form-title">
!{{HTML head content}}!:
</div>
@{{ 
  render.template("@controls:textarea", {value: fcf.argRef("header"), width: "100%"})
}}@
<description>!{{The part of the HTML header that is included in all pages of the site}}!</description>
<p>
@{{ render.template("@controls:button", 
                    {
                      fcfAlias: "save",
                      title: fcf.t("Save"), 
                      enable: false,
                      fcfEventClick: "parent.onSave()" 
                    }
                  )
                }}@
@{{ render.template("@controls:button", 
                    {
                      fcfAlias: "cancel",
                      title: fcf.t("Cancel"), 
                      enable: false,
                      fcfEventClick: "parent.onCancel()" 
                    }
                  )
                }}@
</p>
