@model Model_Account @inject SaxLocaliser Localiser @{ // Ensure view is only included once in page. if (!Model.RegisterView(ViewContext)) return; // Scripts. Model.AdditionalFiles_JS.Add("js/sax-pro-org.js"); } @* Profile Organisations *@
@* Panel caption and burger menu *@
@Localiser["account.caption.profile.organisations"]
@* Burger menu *@ @* Filter item templates *@
@* Filter Burger dropdown template - ul is ignored *@
  • ...
@* Profile Organisations list *@
@* Item templates *@
@* Organisation template *@
@* Burger menu *@
@Localiser["label.members"]: 
@Localiser["label.opportunities"]: 
@* Organisation Burger dropdown template - ul is ignored *@
  • ...
@* Profile Organisation Id form *@ @using (Html.BeginForm(FormMethod.Post, new { @id = "frmProfileOrganisationId", @class = "sax-form", @onSubmit = "return false;" })) { @Html.HiddenFor(model => model.Organisation.Id, new { @id = "", @class = "OrganisationId" }) }
@* Profile Organisation dialog *@
@using (Html.BeginForm(FormMethod.Post, new { @id = "frmProfileOrganisation", @class = "sax-form", @onSubmit = "return false;" })) { @Html.HiddenFor(model => model.Organisation.Id, new { @id = "", @class = "OrganisationId" }) @Html.HiddenFor(model => model.Organisation.Address.Id, new { @id = "", @class = "OrganisationAddressId" }) @* Core controls - name, category, sport, region *@ @* Organisation About *@
@Html.TextAreaFor(model => model.Organisation.About, new { @id = "ifOrganisationAbout", @class = "OrganisationAbout sax-input", @rows = 6, @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.Organisation_About) })
@* Organisation Facilities *@
@Html.TextAreaFor(model => model.Organisation.Facilities, new { @id = "ifOrganisationFacilities", @class = "OrganisationFacilities sax-input", @rows = 6, @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.Organisation_Facilities) })
@* Contact controls *@ @* ModelData_Address controls *@ }