private void InitalizeRightsSection(Expandable rightsSection) { rightsSection.Title = Translator.Translate("RightsSection.Title"); rightsSection.Expanded = true; RightsContainer = rightsSection.AddGeneric("div", div => { div.AddClass("rights"); }); }
private void InitalizeGeneralSection(Expandable generalSection) { generalSection.Title = FieldsTranslator.Translate("GeneralSection.Title"); generalSection.Expanded = true; generalSection.AddGeneric("table", table => { table.AddClass("summary-grid"); InitializeNameIn(table); InitializeDataTypeIn(table); InitializeScopeIn(table); InitializePropagationModeIn(table); InitializeIsActiveIn(table); }); }