diff --git a/src/MyWebLog.Domain/ViewModels.fs b/src/MyWebLog.Domain/ViewModels.fs index 1a9ff82..098ee5c 100644 --- a/src/MyWebLog.Domain/ViewModels.fs +++ b/src/MyWebLog.Domain/ViewModels.fs @@ -392,6 +392,9 @@ type EditChapterModel = { /// An OpenStreetMap query for this location LocationOsm: string + + /// Whether to add another chapter after adding this one + AddAnother: bool } with /// Create a display chapter from a chapter @@ -406,7 +409,8 @@ type EditChapterModel = { EndTime = it.EndTime LocationName = it.LocationName LocationGeo = it.LocationGeo - LocationOsm = it.LocationOsm } + LocationOsm = it.LocationOsm + AddAnother = false } /// Create a chapter from the values in this model member this.ToChapter () = diff --git a/src/admin-theme/chapter-edit.liquid b/src/admin-theme/chapter-edit.liquid index bb13c16..d5e73a0 100644 --- a/src/admin-theme/chapter-edit.liquid +++ b/src/admin-theme/chapter-edit.liquid @@ -1,7 +1,9 @@
Times may be entered as seconds; minutes and seconds; or hours, minutes and seconds. Fractional seconds are supported to two decimal places. -