﻿#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     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.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP
{
    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 Paladino.Web;
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
    [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Manager/Views/Template/PageEdit.cshtml")]
    public partial class _Areas_Manager_Views_Template_PageEdit_cshtml : System.Web.Mvc.WebViewPage<Paladino.Models.Manager.TemplateModels.PageEditModel>
    {
        public _Areas_Manager_Views_Template_PageEdit_cshtml()
        {
        }
        public override void Execute()
        {
            
            #line 2 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
  
    ViewBag.Selected = "Settings";
    ViewBag.SelectedTab = "PageType";

            
            #line default
            #line hidden
WriteLiteral("\r\n\r\n");

DefineSection("Scripts", () => {

WriteLiteral("\r\n    <script");

WriteLiteral(" type=\"text/javascript\"");

WriteLiteral(">\r\n        /**\r\n         * This var is needed by the regiontemplate script.\r\n    " +
"     */\r\n        var templateid = \'");

            
            #line 12 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                     Write(Model.Template.Id);

            
            #line default
            #line hidden
WriteLiteral(@"';

        $(function () {
        	$('#Template_Name').focus();

        	$('#isblock input').change(function () {
        		if ($(this).is(':checked')) {
        			$('#subpages').hide();
        			$('#blocktypes').show();
				} else {
        			$('#subpages').show();
        			$('#blocktypes').hide();
				}
        	});
        });
</script>
");

});

WriteLiteral("\r\n<div");

WriteLiteral(" class=\"row\"");

WriteLiteral(">\r\n    <div");

WriteLiteral(" class=\"col-xs-12\"");

WriteLiteral(">\r\n        <div");

WriteLiteral(" class=\"box\"");

WriteLiteral(">\r\n            <div");

WriteLiteral(" class=\"box-body\"");

WriteLiteral(">\r\n                <form");

WriteAttribute("action", Tuple.Create(" action=\"", 837), Tuple.Create("\"", 865)
            
            #line 34 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
, Tuple.Create(Tuple.Create("", 846), Tuple.Create<System.Object, System.Int32>(Url.Action("page")
            
            #line default
            #line hidden
, 846), false)
);

WriteLiteral(" method=\"post\"");

WriteLiteral(" class=\"form-horizontal\"");

WriteLiteral(">\r\n");

WriteLiteral("                    ");

            
            #line 35 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.Id));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 36 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.IsNew));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 37 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.IsSiteTemplate));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 38 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.Type));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 39 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.Created));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 40 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.Updated));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 41 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.CreatedBy));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                    ");

            
            #line 42 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
               Write(Html.HiddenFor(m => m.Template.UpdatedBy));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 43 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                    
            
            #line default
            #line hidden
            
            #line 43 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                     if (!Paladino.Application.Current.IsMvc)
                    {
                        
            
            #line default
            #line hidden
            
            #line 45 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                   Write(Html.HiddenFor(m => m.Template.View));

            
            #line default
            #line hidden
            
            #line 45 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                             
                        
            
            #line default
            #line hidden
            
            #line 46 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                   Write(Html.HiddenFor(m => m.Template.ShowView));

            
            #line default
            #line hidden
            
            #line 46 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                 
                    }

            
            #line default
            #line hidden
WriteLiteral("\r\n                    <div");

WriteLiteral(" class=\"row\"");

WriteLiteral(">\r\n                        <div");

WriteLiteral(" class=\"col-xs-7\"");

WriteLiteral(">\r\n                            <h4>");

            
            #line 51 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Paladino.Resources.Global.Information);

            
            #line default
            #line hidden
WriteLiteral("</h4>\r\n\r\n                            <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 54 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Name, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 56 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextBoxFor(m => m.Template.Name, new { @class = "form-control" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                    ");

            
            #line 57 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.ValidationMessageFor(m => m.Template.Name));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                </div>\r\n                            </div>\r\n   " +
"                         <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 61 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Description, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 63 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextAreaFor(m => m.Template.Description, new { @rows = 3, @placeholder = Paladino.Resources.Global.Optional, @class = "form-control" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                </div>\r\n                            </div>\r\n   " +
"                         <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 67 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Preview, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 69 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextAreaFor(m => m.Template.Preview, new { @rows = 8, @class = "form-control" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                </div>\r\n                            </div>\r\n   " +
"                     </div>\r\n                        <div");

WriteLiteral(" class=\"col-xs-5\"");

WriteLiteral(">\r\n");

            
            #line 74 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                            
            
            #line default
            #line hidden
            
            #line 74 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                             if (!Model.Template.IsNew && !String.IsNullOrEmpty(Model.Template.Preview.ToHtmlString()))
                            {

            
            #line default
            #line hidden
WriteLiteral("                            <h4>");

            
            #line 76 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Paladino.Resources.Page.HtmlPreview);

            
            #line default
            #line hidden
WriteLiteral("</h4>\r\n");

WriteLiteral("                            <div");

WriteLiteral(" class=\"box\"");

WriteLiteral(">\r\n                                <div");

WriteLiteral(" class=\"box-body\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 79 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Model.Template.Preview);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                </div>\r\n                            </div>\r\n");

            
            #line 82 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                            }

            
            #line default
            #line hidden
WriteLiteral("\r\n                            <h4>");

            
            #line 84 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Paladino.Resources.Global.Properties);

            
            #line default
            #line hidden
WriteLiteral("</h4>\r\n\r\n                            <table");

WriteLiteral(" class=\"table table-condensed\"");

WriteLiteral(">\r\n                                <tbody>\r\n");

            
            #line 88 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 88 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                     foreach (var property in Model.Template.Properties)
                                    {

            
            #line default
            #line hidden
WriteLiteral("                                        <tr>\r\n                                   " +
"         <td>");

            
            #line 91 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                           Write(property);

            
            #line default
            #line hidden
WriteLiteral("</td>\r\n                                        </tr>\r\n");

            
            #line 93 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                    }

            
            #line default
            #line hidden
WriteLiteral("                                </tbody>\r\n                            </table>\r\n " +
"                       </div>\r\n                    </div>\r\n                    <" +
"div");

WriteLiteral(" class=\"row\"");

WriteLiteral(">\r\n                        <div");

WriteLiteral(" class=\"col-xs-7\"");

WriteLiteral(">\r\n                            <h4>");

            
            #line 100 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Paladino.Resources.Global.Regions);

            
            #line default
            #line hidden
WriteLiteral("</h4>\r\n\r\n                            <table");

WriteLiteral(" class=\"table\"");

WriteLiteral(">\r\n                                <thead>\r\n                                    <" +
"tr>\r\n                                        <th>");

            
            #line 105 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Global.Name);

            
            #line default
            #line hidden
WriteLiteral("</th>\r\n                                        <th>");

            
            #line 106 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Global.InternalId);

            
            #line default
            #line hidden
WriteLiteral("</th>\r\n                                        <th>");

            
            #line 107 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Global.Type);

            
            #line default
            #line hidden
WriteLiteral("</th>\r\n                                        <th");

WriteLiteral(" style=\"min-width:150px;\"");

WriteLiteral("></th>\r\n                                    </tr>\r\n                              " +
"  </thead>\r\n                                <tbody>\r\n");

WriteLiteral("                                    ");

            
            #line 112 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.EditorFor(m => m.Regions));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                    <tr>\r\n                                     " +
"   <td><input");

WriteLiteral(" type=\"text\"");

WriteLiteral(" id=\"newregionName\"");

WriteLiteral(" class=\"form-control\"");

WriteLiteral(" /></td>\r\n                                        <td><input");

WriteLiteral(" type=\"text\"");

WriteLiteral(" id=\"newregionInternalId\"");

WriteLiteral(" class=\"form-control\"");

WriteLiteral(" /></td>\r\n                                        <td>");

            
            #line 116 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.DropDownList("newregionType", new SelectList(Model.RegionTypes, "Type", "Name"), new { @class = "form-control" }));

            
            #line default
            #line hidden
WriteLiteral("</td>\r\n                                        <td><button");

WriteLiteral(" type=\"button\"");

WriteLiteral(" class=\"btn btn-default\"");

WriteLiteral("><i");

WriteLiteral(" class=\"fa fa-plus\"");

WriteLiteral("></i> ");

            
            #line 117 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                                                                Write(Paladino.Resources.Global.Add);

            
            #line default
            #line hidden
WriteLiteral("</button></td>\r\n                                    </tr>\r\n                      " +
"          </tbody>\r\n                            </table>\r\n                      " +
"  </div>\r\n                    </div>\r\n                    <div");

WriteLiteral(" class=\"row\"");

WriteLiteral(">\r\n                        <div");

WriteLiteral(" class=\"col-xs-7\"");

WriteLiteral(">\r\n                            <h4>");

            
            #line 125 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Paladino.Resources.Global.Advanced);

            
            #line default
            #line hidden
WriteLiteral("</h4>\r\n\r\n                            <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 128 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Controller,
                                                    Paladino.Application.Current.IsMvc ? Paladino.Resources.Page.Route : Paladino.Resources.Page.Template,
                                                    new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 132 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextBoxFor(m => m.Template.Controller, new { @class = "form-control", @placeholder = "Page" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                    <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                        <label");

WriteLiteral(" class=\"help-block\"");

WriteLiteral(">\r\n");

WriteLiteral("                                            ");

            
            #line 135 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.CheckBoxFor(m => m.Template.ShowController));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                            ");

            
            #line 136 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                        Write(Paladino.Application.Current.IsMvc ? Paladino.Resources.Template.PageRouteOverride : Paladino.Resources.Template.PageTemplateOverride);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                        </label>\r\n                             " +
"       </div>\r\n                                </div>\r\n                         " +
"   </div>\r\n");

            
            #line 141 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                            
            
            #line default
            #line hidden
            
            #line 141 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                             if (Paladino.Application.Current.IsMvc)
                            {

            
            #line default
            #line hidden
WriteLiteral("                            <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 144 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.View, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 146 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextBoxFor(m => m.Template.View, new { @class = "form-control", @placeholder = "Index" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                    <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                        <label");

WriteLiteral(" class=\"help-block\"");

WriteLiteral(">\r\n");

WriteLiteral("                                            ");

            
            #line 149 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.CheckBoxFor(m => m.Template.ShowView));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                            ");

            
            #line 150 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Template.PageViewOverride);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                        </label>\r\n                             " +
"       </div>\r\n                                </div>\r\n                         " +
"   </div>\r\n");

            
            #line 155 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                            }

            
            #line default
            #line hidden
WriteLiteral("                            <div");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 157 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Redirect, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

WriteLiteral("                                    ");

            
            #line 159 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                               Write(Html.TextBoxFor(m => m.Template.Redirect, new { @class = "form-control", @placeholder = Paladino.Resources.Global.Optional }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                    <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                        <label");

WriteLiteral(" class=\"help-block\"");

WriteLiteral(">\r\n");

WriteLiteral("                                            ");

            
            #line 162 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.CheckBoxFor(m => m.Template.ShowRedirect));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                            ");

            
            #line 163 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Template.PageRedirectOverride);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                        </label>\r\n                             " +
"       </div>\r\n                                </div>\r\n                         " +
"   </div>\r\n                            <div");

WriteLiteral(" id=\"isblock\"");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 169 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.IsBlock, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n                                    <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                        <label>\r\n");

WriteLiteral("                                            ");

            
            #line 173 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.CheckBoxFor(m => m.Template.IsBlock));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                            ");

            
            #line 174 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Template.IsBlockDescription);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                        </label>\r\n                             " +
"       </div>\r\n                                </div>\r\n                         " +
"   </div>\r\n                            <div");

WriteLiteral(" id=\"blocktypes\"");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(" ");

            
            #line 179 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                Write(!Model.Template.IsBlock ? "style=display:none" : "");

            
            #line default
            #line hidden
WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 180 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.BlockTypes, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n");

            
            #line 182 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                    
            
            #line default
            #line hidden
            
            #line 182 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                     foreach (var t in Model.Templates)
                                    {

            
            #line default
            #line hidden
WriteLiteral("                                        <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                            <label>\r\n                         " +
"                       <input");

WriteLiteral(" type=\"checkbox\"");

WriteLiteral(" id=\"Template_BlockTypes\"");

WriteLiteral(" name=\"Template.BlockTypes\"");

WriteAttribute("value", Tuple.Create(" value=\"", 10569), Tuple.Create("\"", 10582)
            
            #line 186 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                 , Tuple.Create(Tuple.Create("", 10577), Tuple.Create<System.Object, System.Int32>(t.Id
            
            #line default
            #line hidden
, 10577), false)
);

WriteLiteral(" ");

            
            #line 186 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                                                                                     Write(Model.Template.BlockTypes.Contains(t.Id) ? "checked=checked" : "");

            
            #line default
            #line hidden
WriteLiteral("> ");

            
            #line 186 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                                                                                                                                                          Write(t.Name);

            
            #line default
            #line hidden
WriteLiteral("\r\n                                            </label>\r\n                         " +
"               </div>\r\n");

            
            #line 189 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                    }

            
            #line default
            #line hidden
WriteLiteral("                                </div>\r\n                            </div>\r\n     " +
"                       <div");

WriteLiteral(" id=\"subpages\"");

WriteLiteral(" class=\"form-group\"");

WriteLiteral(" ");

            
            #line 192 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                              Write(Model.Template.IsBlock ? "style=display:none" : "");

            
            #line default
            #line hidden
WriteLiteral(">\r\n");

WriteLiteral("                                ");

            
            #line 193 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                           Write(Html.LabelFor(m => m.Template.Subpages, new { @class = "col-sm-2 control-label" }));

            
            #line default
            #line hidden
WriteLiteral("\r\n                                <div");

WriteLiteral(" class=\"col-sm-10\"");

WriteLiteral(">\r\n                                    <div");

WriteLiteral(" class=\"checkbox\"");

WriteLiteral(">\r\n                                        <label>\r\n");

WriteLiteral("                                            ");

            
            #line 197 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Html.CheckBoxFor(m => m.Template.Subpages));

            
            #line default
            #line hidden
WriteLiteral("\r\n");

WriteLiteral("                                            ");

            
            #line 198 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                       Write(Paladino.Resources.Template.SubpagesDescription);

            
            #line default
            #line hidden
WriteLiteral(@"
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div");

WriteLiteral(" class=\"box-footer\"");

WriteLiteral(">\r\n                <a");

WriteAttribute("href", Tuple.Create(" href=\"", 11799), Tuple.Create("\"", 11829)
            
            #line 208 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
, Tuple.Create(Tuple.Create("", 11806), Tuple.Create<System.Object, System.Int32>(Url.Action("pagelist")
            
            #line default
            #line hidden
, 11806), false)
);

WriteLiteral(" class=\"btn btn-default\"");

WriteLiteral(">");

            
            #line 208 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                     Write(Paladino.Resources.Global.ToolbarBack);

            
            #line default
            #line hidden
WriteLiteral("</a>\r\n\r\n                <a");

WriteLiteral(" class=\"btn btn-info pull-right submit\"");

WriteLiteral(">");

            
            #line 210 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                     Write(Paladino.Resources.Global.ToolbarSave);

            
            #line default
            #line hidden
WriteLiteral("</a>\r\n                <a");

WriteAttribute("href", Tuple.Create(" href=\"", 12021), Tuple.Create("\"", 12085)
            
            #line 211 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
, Tuple.Create(Tuple.Create("", 12028), Tuple.Create<System.Object, System.Int32>(Url.Action("deletepage", new { id = Model.Template.Id })
            
            #line default
            #line hidden
, 12028), false)
);

WriteLiteral(" class=\"btn btn-danger pull-right margin-r-5\"");

WriteLiteral(">");

            
            #line 211 "..\..\Areas\Manager\Views\Template\PageEdit.cshtml"
                                                                                                                            Write(Paladino.Resources.Global.ToolbarDelete);

            
            #line default
            #line hidden
WriteLiteral("</a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>");

        }
    }
}
#pragma warning restore 1591
