diff --git a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addSessionSection.cshtml b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addSessionSection.cshtml index 36e8c1d..86ac781 100644 --- a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addSessionSection.cshtml +++ b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addSessionSection.cshtml @@ -62,4 +62,7 @@ +}else +{ + } diff --git a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addTrackSection.cshtml b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addTrackSection.cshtml index 788cf1e..6b894ef 100644 --- a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addTrackSection.cshtml +++ b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_addTrackSection.cshtml @@ -98,5 +98,7 @@ +}else +{ + } - diff --git a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_modelNullErrorSection.cshtml b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_modelNullErrorSection.cshtml index 11016ef..e12cd3b 100644 --- a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_modelNullErrorSection.cshtml +++ b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_modelNullErrorSection.cshtml @@ -1,4 +1,3 @@ -@model EventHub.Web.Pages.Events.Components.CreateEventArea.CreateEventAreaViewComponent.ProgressStepType - -@* TODO: Create content for model null template *@ - +
+

An unknown error has occurred!

+
diff --git a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_newEventSection.cshtml b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_newEventSection.cshtml index fa1d7f0..fb85b2a 100644 --- a/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_newEventSection.cshtml +++ b/src/EventHub.Web/Pages/Events/Components/CreateEventArea/_newEventSection.cshtml @@ -8,13 +8,13 @@ { throw new BadHttpRequestException("There is no organization"); } - + var countries = ViewData["Countries"] as IList; if (countries is null || !countries.Any()) { throw new BadHttpRequestException("There is no country"); } - + var languages = ViewData["Languages"] as IList; if (languages is null || !languages.Any()) { @@ -22,116 +22,118 @@ } } - - -
-
-
-
-
-
-

Create New Event

-
-
-
-
- - -
-
-
-
- - - + +@if (Model is not null) +{ + +
+
+
+
+
+

Create New Event

+
+
+
+
+ + +
-
-
-
- - - +
+
+ + + +
-
-
-
- - - +
+
+ + + +
-
-
-
- - +
+
+ + + +
-
-
-

Cover Image

-
-
-
+
+
+ +
-
-
-

For horizontal format 600x400 sized upload images.

- - - +
+
+

Cover Image

+
+
+
+
+
+
+

For horizontal format 600x400 sized upload images.

+ + + +
-
-
- - -
-
-
- + +} +else +{ + +}