//~OPTIONS
{
  clientInclude: ["../css/management.css"],
}

//~ARGUMENTS
{
  projection:               "",
  key:                      "",
  titleEditButton:          fcf.argVal("!{{Edit}}!"),
  titleNewButton:           fcf.argVal("!{{New}}!"),
  titleDeleteButton:        fcf.argVal("!{{Delete}}!"),
  visibleEditButton:        fcf.argProg(),
  visibleNewButton:         fcf.argProg(),
  visibleDeleteButton:      fcf.argProg(),
  reloadPage:               true,
  transitionAfterRemoval:   undefined,
  addFormArgValue:          {},
  editFields:               undefined,
  defautlLanguage:          fcf.argProg(),
  enableEditWithoutClose:   false,

}

//~TEMPLATE
%{{ if (args.visibleEditButton) { }}%
@{{ render.template("@controls:button", {fcfLockTemplate: true, fcfAlias: "edit", title: args.titleEditButton, fcfEventClick: "parent.onEdit()"}); }}@
%{{ } }}%
%{{ if (args.visibleNewButton) { }}%
@{{ render.template("@controls:button", {fcfLockTemplate: true, fcfAlias: "new", title: args.titleNewButton, fcfEventClick: "parent.onNew()"}); }}@
%{{ } }}%
%{{ if (args.visibleDeleteButton) { }}%
@{{ render.template("@controls:button", {fcfLockTemplate: true, fcfAlias: "delete", title: args.titleDeleteButton, fcfEventClick: "parent.onRemove()"}); }}@
%{{ } }}%
