@model Model_Organisation_Events @inject SaxLocaliser Localiser @{ /* Organisation Events - Event dialog panel */ //Model.AdditionalFiles_CSS.Add("lib/jquery-timepicker/jquery.timepicker.min.css"); //Model.AdditionalFiles_JS.Add("lib/jquery-timepicker/jquery.timepicker.min.js"); //Model.AdditionalFiles_CSS.Add("lib/bootstrap4-datetimepicker/bootstrap-datetimepicker.min.css"); //Model.AdditionalFiles_JS.Add("lib/moment.js/moment.min.js"); //Model.AdditionalFiles_JS.Add("lib/bootstrap4-datetimepicker/bootstrap-datetimepicker.min.js"); } @using (@Html.BeginForm(FormMethod.Post, new { @id = "frmEventId", @class = "sax-form" })) { @Html.HiddenFor(model => model.EventId, new { @class = "EventId" }) }
@using (@Html.BeginForm(FormMethod.Post, new { @id = "frmEvent", @class = "sax-form", @onSubmit = "return false;" })) { @Html.HiddenFor(model => model.EventId, new { @id = "ifEventId", @class = "EventId" }) @Html.HiddenFor(model => model.EventExists, new { @id = "ifEventExists", @class = "EventExists" }) @* Event type *@
@* Event At date and time *@
@Html.CheckBoxFor(model => model.EventAtTimeSet, new { @id = "chkEventAtTimeSet", @class = "sax-checkbox" })   @Localiser["label.starts"]
@* Event To date and time *@
@Localiser["label.until"]
@Html.CheckBoxFor(model => model.EventToDateSet, new { @id = "chkEventToDateSet", @class = "sax-checkbox" })
@Html.CheckBoxFor(model => model.EventToTimeSet, new { @id = "chkEventToTimeSet", @class = "sax-checkbox" })   @Localiser["label.finishes"]
@* Event summary *@
@Html.TextAreaFor(model => model.EventSummary, new { @id = "ifEventSummary", @class = "EventSummary sax-textarea", @rows = 3, @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.OrganisationEvent_Summary) })
@* Event details *@
@Html.TextAreaFor(model => model.EventDetails, new { @id = "ifEventDetails", @class = "EventDetails sax-textarea", @rows = 6, @maxlength = @Model.GetControlMaxLength(SaxDbDfn_Core.ColumnIdx.OrganisationEvent_Details) })
@* Sport *@
@Html.HiddenFor(model => model.EventSportIdPrimary, new { @id = "ifEventSportIdPrimary", @class = "EventSportIdPrimary" })
@* Region *@
@Html.HiddenFor(model => model.EventRegionIdCountry, new { @id = "ifEventRegionIdCountry", @class = "EventRegionIdCountry" })
}