+ @{
+ var index = 0;
+ foreach (var document in Model.DocumentTemplates)
+ {
+
+
+
+
+
+
+
+
+ @document.Scope
+
+
+ index++;
+ }
+ }
+
+
+
+
+
@Html.LabelFor(m => m.Options.LatestOnly)
+
+ @Html.CheckBoxFor(m => m.Options.LatestOnly)
+
Uncheck to include all document instances.
+
+
+
+
@Html.LabelFor(m => m.Options.Format)
+
+ @Html.DropDownListFor(m => m.Options.Format, Enum.GetNames(typeof(Disco.Models.Exporting.ExportFormat)).Select(v => new SelectListItem() { Value = v, Text = v }))
+
diff --git a/Disco.Web/Areas/Config/Views/DocumentTemplate/Export.generated.cs b/Disco.Web/Areas/Config/Views/DocumentTemplate/Export.generated.cs
new file mode 100644
index 00000000..4e6309d2
--- /dev/null
+++ b/Disco.Web/Areas/Config/Views/DocumentTemplate/Export.generated.cs
@@ -0,0 +1,871 @@
+#pragma warning disable 1591
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Disco.Web.Areas.Config.Views.DocumentTemplate
+{
+ using System;
+ using System.Collections.Generic;
+ using System.IO;
+ using System.Linq;
+ using System.Net;
+ using System.Text;
+ using System.Web;
+ using System.Web.Helpers;
+ using System.Web.Mvc;
+ using System.Web.Mvc.Ajax;
+ using System.Web.Mvc.Html;
+ using System.Web.Routing;
+ using System.Web.Security;
+ using System.Web.UI;
+ using System.Web.WebPages;
+ using Disco;
+ using Disco.Models.Repository;
+ using Disco.Services;
+ using Disco.Services.Authorization;
+
+ #line 2 "..\..\Areas\Config\Views\DocumentTemplate\Export.cshtml"
+ using Disco.Services.Exporting;
+
+ #line default
+ #line hidden
+ using Disco.Services.Web;
+ using Disco.Web;
+
+ #line 1 "..\..\Areas\Config\Views\DocumentTemplate\Export.cshtml"
+ using Disco.Web.Areas.Config.Models.DocumentTemplate;
+
+ #line default
+ #line hidden
+ using Disco.Web.Extensions;
+
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
+ [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/DocumentTemplate/Export.cshtml")]
+ public partial class Export : Disco.Services.Web.WebViewPage
+ {
+ public Export()
+ {
+ }
+ public override void Execute()
+ {
+
+ #line 4 "..\..\Areas\Config\Views\DocumentTemplate\Export.cshtml"
+
+ Authorization.Require(Claims.Config.DocumentTemplate.Export);
+
+ ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Document Templates", MVC.Config.DocumentTemplate.Index(null), "Export");
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n