text: module.exports = function loadCachedTemplates (we){
  return {
    "layouts": {
      "we-theme-blog-startbootstrap-clean/default": "<header class=\"intro-header\"\n  {{#each data.featuredImage}}\n    style=\"background-image: url('{{urls.original}}')\"\n  {{else}}\n    {{#if req.we.config.site.homeBg}}\n      style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n    {{else}}\n      style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n    {{/if}}\n  {{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n          <hr class=\"small\">\n          <span class=\"subheading\">{{req.we.config.subtitle}}</span>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-lg-9\">\n      <div>{{we-breadcrumb locals=this}}</div>\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n\n    <div class=\"col-lg-3\">\n      {{#region 'sidebar'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/article-layout": "<header class=\"intro-header\"\n{{#each data.featuredImage}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n          <hr class=\"small\">\n          {{#if data.about}}\n            <span class=\"subheading\">{{data.about}}</span>\n          {{else}}\n            <span class=\"subheading\">{{req.we.config.subtitle}}</span>\n          {{/if}}\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/user-layout": "<header class=\"intro-header\"\n{{#each data.banner}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}} >\n\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        {{#ifCond model 'user'}}\n          <div class=\"site-heading {{#ifCond name 'user.findOne'}}{{else}}small{{/ifCond}}\">\n            <h1>{{data.displayName}}</h1>\n            <hr class=\"small\">\n            <span class=\"subheading\">{{#each data.organization}}{{this}}{{/each}}</span>\n          </div>\n        {{else}}\n          <div class=\"site-heading {{#ifCond name 'user.findOne'}}{{else}}small{{/ifCond}}\">\n            <h1>{{title}}</h1>\n            <hr class=\"small\">\n          </div>\n        {{/ifCond}}\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\" id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    {{#region 'highlighted' class=\"col-md-12\"}}{{/region}}\n\n    <div class=\"col-md-3\">\n      {{#each data.avatar}}\n        {{we-image this 'medium' class=\"thumbnail\"}}\n      {{else}}\n        <img src=\"/public/theme/we-theme-blog-startbootstrap-clean/img/avatar.png\" class=\"img-thumbnail\">\n      {{/each}}\n\n      <div class=\"user-username text-center\">@{{data.username}}</div>\n\n      {{#region 'sidebar'}}{{/region}}\n    </div>\n    <div class=\"col-md-9\" id=\"content\" role=\"main\" >\n      {{{body}}}\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/portfolio-layout": "<header class=\"intro-header\"\n{{#each data.featuredImage}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    <div class=\"col-md-12\">\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/fullwidth": "<header class=\"intro-header\"\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-lg-12\">\n      <div>{{we-breadcrumb locals=this}}</div>\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-admin-default/default": "<div id=\"page-wrapper\" style=\"min-height: 160px;\">\n  <div class=\"row\">\n    <div class=\"col-lg-12\">\n      <ol class=\"ember-view breadcrumbs breadcrumb\">\n        <li class=\"first current\">\n          {{#link-to 'admin.index' }}{{t 'home'}}{{/link-to}}\n        </li>\n      </ol>\n\n      {{#unless skipLayoutTitle}}{{#if title}}\n        <h1 class=\"page-header\">{{title}}</h1>\n      {{/if}}{{/unless}}\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n    </div>\n  </div>\n</div>"
    },
    "templates": {
      "400": "<div class=\"container\">\n  <div class=\"jumbotron\">\n    <h1>{{t 'response.badRequest.title'}}</h1>\n    <p>{{t 'response.badRequest.description'}}</p>\n  </div>\n</div>",
      "403": "<div class=\"container\">\n  <div class=\"jumbotron\">\n    <h1>{{t 'response.forbidden.title'}}</h1>\n    <p>{{t 'response.forbidden.description'}}</p>\n  </div>\n</div>",
      "404": "<div class=\"container\">\n  <div class=\"jumbotron\">\n    <h1>{{t 'response.notFound.title'}}</h1>\n    <p>{{t 'response.notFound.description'}}</p>\n  </div>\n</div>",
      "500": "<div class=\"container\">\n  <div class=\"jumbotron\">\n    <h1>{{t 'response.serverError.title'}}</h1>\n    <p>{{t 'response.serverError.description'}}</p>\n  </div>\n</div>",
      "admin/role/find": "<ul class=\"nav nav-tabs\">\n  <li role=\"presentation\">\n    {{#link-to 'admin.user.find'}}{{t 'user.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\" class=\"active\">\n    {{#link-to 'admin.role.find'}}{{t 'role.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\">\n    {{#link-to 'permission_manage'}}{{t 'permission_manage'}}{{/link-to}}\n  </li>\n</ul>\n<br>\n\n<div class=\"actions\">\n  <form class=\"form form-inline\"action=\"{{req.path}}\" method=\"POST\">\n\n    <div class=\"form-group\">\n      <label>{{t 'role.create'}}</label>\n      <input class=\"form-control\" type=\"text\" name=\"name\">\n    </div>\n    <input type=\"hidden\" name=\"redirectTo\" value=\"{{req.path}}\">\n\n    <button class=\"btn btn-default\" type=\"submit\" name=\"action\" value=\"create\">{{t 'create'}}</button>\n  </form>\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>{{t 'name'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n  {{#each data}}\n    <tr>\n      <td>{{name}}</td>\n      <td>\n        <form class=\"form form-inline\"action=\"{{../req.path}}\" method=\"POST\">\n          <input type=\"hidden\" name=\"name\" value=\"{{name}}\">\n          <input type=\"hidden\" name=\"redirectTo\" value=\"{{../req.path}}\">\n          <button onclick=\"return confirm('{{t 'role.delete.confirm.msg'}}');\" class=\"btn btn-default\" type=\"submit\" name=\"action\" value=\"delete\">{{t 'delete'}}</button>\n        </form>\n      </td>\n    </tr>\n  {{/each}}\n\n  </tbody>\n</table>",
      "article/teaser": "<div class=\"post-preview {{#unless record.published}}unpublished{{/unless}}\">\n  {{#link-to-record record=record}}\n    <h2 class=\"post-title\">\n      {{record.title}} {{#unless record.published}} <small><span class=\"label label-warning\">{{t 'article.unpublished'}}</span></small> {{/unless}}\n    </h2>\n    <h3 class=\"post-subtitle\">{{record.about}}</h3>\n  {{/link-to-record}}\n  {{#if record.creator}}\n    <p class=\"post-meta\">{{t 'Posted by'}}\n    {{#link-to-record record=record.creator}} {{record.creator.displayName}} {{/link-to-record}}\n    {{t 'on'}} {{we-date record.createdAt locals=locals}}\n    {{#if record.category}}{{#each record.category}}\n      <small>-\n        {{#link-to 'term.findOne' 'Category' this}} {{this}} {{/link-to}}\n      </small>\n    {{/each}}{{/if}}\n    </p>\n  {{/if}}\n</div>",
      "auth/forgot-password": "{{#unless req.user.id}}\n  <ul class=\"nav nav-tabs\">\n    <li role=\"presentation\">\n      {{#link-to 'auth.login'}}{{t 'Login'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\">\n      {{#link-to 'auth.signup'}}{{t 'Register'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\" class=\"active\">\n      {{#link-to 'auth.forgotPassword'}}{{t 'auth.forgot-password'}}{{/link-to}}\n    </li>\n  </ul>\n  <div class=\"tab-content\">\n    {{#unless emailSend}}\n      {{{form 'forgot-password' user}}}\n    {{/unless}}\n  </div>\n{{else}}\n  <p>{{{t 'auth.login.authenticated.msg'}}}</p>\n{{/unless}}",
      "auth/change-password": "{{#unless successfully}}\n  {{{form 'change-password'}}}\n{{/unless}}",
      "auth/login": "{{#unless req.user.id}}\n  <ul class=\"nav nav-tabs\">\n    <li role=\"presentation\" class=\"active\">\n      {{#link-to 'auth.login'}}{{t 'Login'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\">\n      {{#link-to 'auth.signup'}}{{t 'Register'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\">\n      {{#link-to 'auth.forgotPassword'}}{{t 'auth.forgot-password'}}{{/link-to}}\n    </li>\n  </ul>\n  <div class=\"tab-content\">\n    {{{form 'login' user}}}\n  </div>\n{{else}}\n  <p>{{{t 'auth.login.authenticated.msg'}}}</p>\n{{/unless}}",
      "auth/new-password": "{{#unless successfully}}\n  {{{form 'new-password' data validationError}}}\n{{/unless}}",
      "auth/register": "{{#unless req.user.id}}\n  <ul class=\"nav nav-tabs\">\n    <li role=\"presentation\">\n      {{#link-to 'auth.login'}}{{t 'Login'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\" class=\"active\">\n      {{#link-to 'auth.signup'}}{{t 'Register'}}{{/link-to}}\n    </li>\n    <li role=\"presentation\">\n      {{#link-to 'auth.forgotPassword'}}{{t 'auth.forgot-password'}}{{/link-to}}\n    </li>\n  </ul>\n  <div class=\"tab-content\">\n    {{#unless newUserCreated}}\n      {{{form 'register' data validationError}}}\n    {{/unless}}\n  </div>\n{{else}}\n  <p>{{{t 'auth.login.authenticated.msg'}}}</p>\n{{/unless}}",
      "forms/html": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  <p class=\"help-block\">{{t help}}</p>\n  <span class=\"help-block\">{{error.message}}</span>\n  <textarea id=\"{{fieldId}}\" name=\"{{name}}\" we-editor-height=\"{{field.formFieldHeight}}\" we-editor-focus=\"{{field.formFieldFocus}}\" we-editor-minheight=\"{{field.formFieldMinHeight}}\" we-editor-maxheight=\"{{field.formFieldMaxHeight}}\" class=\"form-control\">{{value}}</textarea>\n\n  {{{field-help-error error}}}\n</div>\n\n<script>$(document).ready(function() {\n  we.components.editor.init('#{{fieldId}}');\n});</script>",
      "model/create-btn": "<a href=\"{{url}}\" class=\"btn btn-default btn-sm\" data-we-btn-action=\"create\"><i class=\"glyphicon glyphicon-plus text-success\"></i> {{text}}</a>",
      "model/view-btn": "<a href=\"{{url}}\" class=\"btn btn-default btn-sm\" data-we-btn-action=\"view\"><i class=\"glyphicon glyphicon-link\"></i> {{text}}</a>",
      "model/delete-btn": "<a href=\"{{url}}\" class=\"btn btn-default  btn-sm\"data-we-btn-action=\"delete\"><i class=\"glyphicon glyphicon-remove text-danger\"></i> {{text}}</a>",
      "model/edit-btn": "<a href=\"{{url}}\" class=\"btn btn-default btn-sm\"  data-we-btn-action=\"edit\"><i class=\"glyphicon glyphicon-edit text-info\"></i> {{text}}</a>",
      "forms/boolean": "<div id=\"{{fieldId}}-wrapper\" class=\"checkbox {{#if error}}has-error has-feedback{{/if}}\">\n  <label>\n    <we-checkbox id=\"{{fieldId}}\">\n      <input type=\"checkbox\" {{{fieldAttrs}}}{{#if value}}checked=\"checked\"{{/if}} />\n      <input type=\"hidden\" name=\"{{name}}\" value=\"{{value}}\">\n    </we-checkbox>\n    <strong>{{t fieldName}}</strong>\n  </label>\n\n  {{#ifCond field.allowNull false}}*{{/ifCond}}\n  {{{field-help-error error}}}\n</div>",
      "forms/break": "<hr>",
      "forms/btn-modal-delete": "<!-- Button trigger modal -->\n<button type=\"button\" class=\"btn btn-primary btn-lg\" data-toggle=\"modal\" data-target=\"#myModal\">\n  Delete\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\">\n  <div class=\"modal-dialog\" role=\"document\">\n    <div class=\"modal-content\">\n      <div class=\"modal-header\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>\n        <h4 class=\"modal-title\" id=\"myModalLabel\">Are you sure?</h4>\n      </div>\n      <div class=\"modal-body\">\n      \tDelete this record, are you sure?\n      </div>\n      <div class=\"modal-footer\">\n        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n        <button type=\"button\" class=\"btn btn-primary\">Delete</button>\n      </div>\n    </div>\n  </div>\n</div>",
      "forms/btn-modal-save": "<button type=\"submit\" class=\"btn btn-primary\">{{t 'Save'}}</button>\n",
      "forms/button": " <button type=\"button\" class=\"btn btn-default\" name=\"{{name}}\" value=\"{{value}}\" {{{fieldAttrs}}}>{{t fieldName}}</button>",
      "forms/date": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n\n  <we-datetime-picker data-viewformat=\"{{locals.req.we.config.date.defaultFormat}}\">\n    <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{{fieldAttrs}}} value=\"{{we-date value locals=locals}}\" >\n  </we-datetime-picker>\n\n  {{{field-help-error error}}}\n</div>",
      "forms/email": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}}{{#ifCond field.allowNull false}}*{{/ifCond}}\n  </label>\n  <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"email\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{{fieldAttrs}}} value=\"{{value}}\">\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/form-model": "<form id=\"{{formId}}\" name=\"{{modelName}}\" class=\"{{class}}\" {{{controllAttrs}}}action=\"{{action}}\" method=\"post\">\n{{{fields}}}\n\n{{#if editDateFields}}\n  <div class=\"panel-group\" id=\"accordion-createdAt-and-updatedAt\" role=\"tablist\" aria-multiselectable=\"true\">\n    <div class=\"panel panel-default\">\n      <div class=\"panel-heading\" role=\"tab\" id=\"heading-createdAt-and-updatedAt\">\n        <h4 class=\"panel-title\">\n          <a role=\"button\" data-toggle=\"collapse\" data-parent=\"#accordion-createdAt-and-updatedAt\" href=\"#collapse-createdAt-and-updatedAt\" aria-expanded=\"true\" aria-controls=\"collapse-createdAt-and-updatedAt\">\n            {{t 'createdAt'}} / {{t 'updatedAt'}} +\n          </a>\n        </h4>\n      </div>\n      <div  id=\"collapse-createdAt-and-updatedAt\" class=\"panel-collapse collapse\" role=\"tabpanel\" aria-labelledby=\"heading-createdAt-and-updatedAt\">\n        <div class=\"panel-body\">\n          {{{fieldCreatedAt}}}\n          {{{fieldUpdatedAt}}}\n        </div>\n      </div>\n    </div>\n  </div>\n{{/if}}\n\n<button type=\"submit\" class=\"btn btn-primary\">{{t 'Save'}}</button>\n{{#if locals.redirectTo}}\n<a data-we-actiontype=\"cancel\" href=\"{{locals.redirectTo}}\" class=\"btn btn-default\">{{t 'Cancel'}}</a>\n{{/if}}\n{{#if destroyLink}}\n  <a data-we-actiontype=\"destroy\" href=\"{{destroyLink}}\" class=\"btn btn-danger\">{{t 'Delete'}}</a>\n{{/if}}\n</form>",
      "forms/form": "<form id=\"{{formId}}\" name=\"{{formName}}\" class=\"{{form.class}}\" {{{controllAttrs}}}action=\"{{action}}\" method=\"{{form.method}}\">\n{{{fields}}}\n</form>",
      "forms/hidden": " <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"hidden\" class=\"form-control\" placeholder=\"{{t placeholder}}\"  {{{fieldAttrs}}}  value=\"{{value}}\">",
      "forms/number": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"number\" class=\"form-control\" placeholder=\"{{t placeholder}}\"  {{{fieldAttrs}}}  value=\"{{value}}\">\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/password": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"password\" class=\"form-control\" placeholder=\"{{t placeholder}}\"  {{{fieldAttrs}}}  value=\"{{value}}\">\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/recaptcha": "{{#if locals.req.we.config.apiKeys.recaptcha.key}}\n<script src='https://www.google.com/recaptcha/api.js'></script>\n<div class=\"g-recaptcha\" data-sitekey=\"{{locals.req.we.config.apiKeys.recaptcha.key}}\"></div>\n{{/if}}",
      "forms/select": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  <select class=\"form-control\" id=\"{{fieldId}}\" name=\"{{name}}\">\n    {{#if field.allowNull}}\n      <option value=\"\" selected=\"selected\">{{t placeholder}}</option>\n    {{/if}}\n    {{#each field.fieldOptions}}\n      {{#ifCond @key ../value}}\n        {{#with ../this}}\n          <option selected=\"selected\" value=\"{{@key}}\">{{t this}}</option>\n        {{/with}}\n      {{else}}\n        {{#with ../this}}\n          <option value=\"{{@key}}\">{{t this}}</option>\n        {{/with}}\n      {{/ifCond}}\n    {{/each}}\n  </select>\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/static-text": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <div><strong>{{t fieldName}}:</strong> {{{value}}}</div>\n</div>",
      "forms/submit": " <button type=\"submit\" class=\"btn btn-primary\" name=\"{{name}}\" value=\"{{value}}\" {{{fieldAttrs}}}>{{t fieldName}}</button>",
      "forms/terms-of-use": "<div class=\"checkbox {{#if error}}has-error has-feedback{{/if}}\">\n  <label>\n    <input id=\"{{fieldId}}\" name=\"{{name}}\" value=\"true\" type=\"checkbox\" {{{fieldAttrs}}}{{#if value}} checked=\"checked\"{{/if}}> {{t fieldName}} *\n    <p><strong>{{{t help}}}</strong></p>\n  </label>\n  {{{field-help-error error}}}\n</div>",
      "forms/text": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{{fieldAttrs}}} value=\"{{value}}\">\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/textarea": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}}\n    {{#ifCond field.allowNull false}}*{{/ifCond}}\n  </label>\n  <p class=\"help-block\">{{t help}}</p>\n  <textarea id=\"{{fieldId}}\" name=\"{{name}}\" class=\"form-control\" placeholder=\"{{t placeholder}}\"  {{{fieldAttrs}}}>{{value}}</textarea>\n  {{{field-help-error error}}}\n</div>",
      "forms/url-alias": "<div class=\"panel-group\" id=\"accordion-{{fieldId}}\" role=\"tablist\" aria-multiselectable=\"true\">\n  <div class=\"panel panel-default\">\n    <div class=\"panel-heading\" role=\"tab\" id=\"heading-{{fieldId}}\">\n      <h4 class=\"panel-title\">\n        <a role=\"button\" data-toggle=\"collapse\" data-parent=\"#accordion-{{fieldId}}\" href=\"#collapse-{{fieldId}}\" aria-expanded=\"true\" aria-controls=\"collapse-{{fieldId}}\">\n          {{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}} +\n        </a>\n      </h4>\n    </div>\n    <div id=\"collapse-{{fieldId}}\" class=\"panel-collapse collapse\" role=\"tabpanel\" aria-labelledby=\"heading-{{fieldId}}\">\n      <div class=\"panel-body\">\n        <div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n          <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n          <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{{fieldAttrs}}} value=\"{{field.linkPermanent}}\">\n          <p class=\"help-block\">{{t help}}</p>\n          {{{field-help-error error}}}\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n",
      "forms/user-email": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  {{#can permission='manage_users' roleNames=this.locals.req.userRoleNames}}\n    <label for=\"{{fieldId}}\">{{t fieldName}}{{#ifCond field.allowNull false}}*{{/ifCond}}\n    </label>\n    <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"email\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{{fieldAttrs}}} value=\"{{value}}\">\n    <p class=\"help-block\">{{t help}}</p>\n  {{else}}\n    <label for=\"{{fieldId}}\">{{t fieldName}}:</label> {{value}}\n  {{/can}}\n\n  {{{field-help-error error}}}\n</div>\n\n\n",
      "forms/user-selector": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  {{{field-help-error error}}}\n\n  <select id=\"{{fieldId}}\" name=\"{{field.fieldName}}\"\n    class=\"form-control\" {{{fieldAttrs}}}\n    {{#if field.formFieldMultiple}}multiple=\"multiple\"{{/if}}>\n    {{#if values.users}}\n      <option value=\"{{values.users.id}}\">{{values.users.displayName}}</option>\n    {{/if}}\n  </select>\n\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>\n\n<script>$(document).ready(function() {\n  we.components.selectQuery.init('#{{fieldId}}', {\n    searchField: 'q',\n    cache: true,\n    url: function () {\n      return '/user';\n    },\n    processResults: function (data, params) {\n      if (!data || !data.user) return {};\n      return {\n        results: data.user.map(function(r, i) {\n          return {\n            text: ( r.displayName || r.username || r.id),\n            id: r.id\n          };\n        })\n      };\n    }\n  });\n});</script>",
      "menu/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'name'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n\n  {{#each data}}\n    <tr>\n      <td>{{id}}</td>\n      <td>{{name}}</td>\n      <td>\n        {{we-action-view-btn ../resourceName this ../req id}}\n        {{we-action-edit-btn ../resourceName this ../req id}}\n        {{we-action-delete-btn ../resourceName this ../req id}}\n      </td>\n    </tr>\n  {{/each}}\n\n  </tbody>\n  <tfoot>\n    <td colspan=\"3\">\n    </td>\n  </tfoot>\n</table>",
      "menu/findOne": "<table class=\"table table-striped table-hover\">\n  <tbody>\n    <tr>\n      <th>ID</th>\n      <td>{{data.id}}</td>\n    </tr>\n    <tr>\n      <th>{{t 'name'}}</th>\n      <td>{{data.name}}</td>\n    </tr>\n    <tr>\n      <th>class</th>\n      <td>{{data.class}}</td>\n    </tr>\n  </tbody>\n  <tfoot>\n    <td colspan=\"2\">\n      {{we-action-edit-btn resourceName data req data.id}}\n      {{we-action-delete-btn resourceName data req data.id}}\n    </td>\n  </tfoot>\n</table>\n\n<h3>{{t 'Links'}}</h3>\n<div class=\"row\">\n  <div class=\"col-lg-12 actions\">\n    {{we-action-create-btn 'link' req data.id}}\n  </div>\n  <div class=\"col-lg-12\">\n    <form class=\"linkOrderForm\" action=\"/admin/menu/{{data.id}}/sort-links\" method=\"POST\">\n      {{#tabledrag id='linkTable' menu=data}}\n        <tr class=\"draggable\">\n          <td>{{tabledrag-indentation depth=depth}}\n            {{{text}}}\n            <input class=\"id\" name=\"link-{{id}}-id\" value=\"{{id}}\" type=\"hidden\" />\n            <input class=\"row-depth\" name=\"link-{{id}}-depth\" value=\"{{depth}}\" type=\"hidden\" />\n          </td>\n          <td>\n            <input class=\"row-weight\" name=\"link-{{id}}-weight\" type=\"text\" value=\"{{weight}}\">\n          </td>\n          <td>\n            <input class=\"row-parent\" name=\"link-{{id}}-parent\" type=\"text\" value=\"{{parent}}\">\n          </td>\n          <td>\n            {{we-action-edit-btn 'link' this ../req menuId id}}\n            {{we-action-delete-btn 'link' this ../req menuId id}}\n          </td>\n        </tr>\n      {{/tabledrag}}\n\n      <div class=\"actions\">\n        <button class=\"btn btn-primary\">{{t 'order.save.btn'}}</button>\n      </div>\n      <input name=\"redirectTo\" type=\"hidden\" value=\"{{req.url}}\">\n    </form>\n  </div>\n</div>",
      "menu/link": "link.hbs",
      "menu/submenu-dropdown": "<li class=\"dropdown\">\n  {{#with submenu}}\n    <a aria-expanded=\"false\" aria-haspopup=\"true\" role=\"button\" data-toggle=\"dropdown\" class=\"dropdown-toggle\" href=\"#\"> {{{text}}} <span class=\"caret\"></span></a>\n  {{/with}}\n  <ul class=\"dropdown-menu\">{{{linksHTML}}}</ul>\n</li>\n\n",
      "menu/submenu": "<li class=\"li-submenu {{#if active}}active{{/if}}\">\n  {{#with submenu}}\n    <a {{#if href}}href=\"{{href}}\"{{/if}} {{#if title}}title=\"{{title}}\"{{/if}} {{#if class}}class=\"{{class}}\"{{/if}} style=\"{{style}}\" target=\"{{target}}\" rel=\"{{rel}}\">\n      {{{text}}}\n      {{#if ../active}}\n        <i class=\"pull-right glyphicon glyphicon-chevron-down\"></i>\n      {{else}}\n        <i class=\"pull-right glyphicon glyphicon-menu-hamburger\"></i>\n      {{/if}}\n    </a>\n  {{/with}}\n  <ul class=\"submenu nav nav-pills nav-stacked\">{{{linksHTML}}}</ul>\n</li>",
      "portfolio/findOne": "<div class=\"portfolio\">\n  <h1>{{data.title}}</h1>\n\n  {{we-action-edit-btn resourceName data req data.id}}\n  {{we-action-delete-btn resourceName data req data.id}}\n\n  <div class=\"portfolio-body\">{{{data.description}}}</div>\n\n  {{#if data.images}}\n    <h4 class=\"article-galery-title\">{{t 'form-article-images'}}</h4>\n    <div class=\"article-galery\">\n      {{we-fancybox-galery id=\"articleImageGalery\" rel=\"article\" images=data.images style='medium'}}\n    </div>\n  {{/if}}\n\n  {{#if data.attachment}}\n    <h4 class=\"article-attachment-title\">{{t 'form-portfolio-attachment'}}</h4>\n    <div class=\"article-attachment\">\n      <table class=\"table table-bordered\">\n        <thead><tr>\n          <th>{{t 'Name'}}</th>\n          <th>{{t 'Actions'}}</th>\n        </tr></thead>\n        <tbody>\n          {{#each data.attachment}}\n            <tr>\n              <td data-file-name>{{originalname}}</td>\n              <td>\n                <a class=\"btn btn-default\" href=\"{{urls.original}}\" text=\"{{originalname}}\" download=\"{{originalname}}\">{{t 'download'}}</a>\n              </td>\n            </tr>\n          {{/each}}\n        </tbody>\n      </table>\n    </div>\n  {{/if}}\n\n  {{#if data.tags}}\n    <div>{{t 'form-portfolio-tags'}}: {{we-terms data.tags }}</div>\n    <div class=\"clearfix\"> </div>\n  {{/if}}\n\n</div>",
      "portfolio/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req}}\n</div>\n\n<div class=\"portfolio-find\">\n  {{#we-grid items=data cols=3}}\n    {{#each featuredImage}}\n      {{#link-to-record record=../this}}\n        {{we-image this 'large' class=\"img-thumbnail\"}}\n      {{/link-to-record}}\n    {{/each}}\n  {{/we-grid}}\n</div>",
      "admin/urlAlias/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'alias'}}</th>\n      <th>{{t 'target'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n\n{{#each data}}\n  <tr>\n    <td>{{id}}</td>\n    <td>{{alias}}</td>\n    <td>{{target}}</td>\n    <td>\n      {{we-action-view-btn ../resourceName this ../req id}}\n      {{we-action-edit-btn ../resourceName this ../req id}}\n      {{we-action-delete-btn ../resourceName this ../req id}}\n    </td>\n  </tr>\n{{/each}}\n\n  </tbody>\n  <tfoot>\n    <td colspan=\"4\">\n      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n    </td>\n  </tfoot>\n</table>\n",
      "user/edit": "<ul class=\"nav nav-tabs\">\n  <li role=\"presentation\" class=\"active\">\n    {{#link-to 'user.edit' user.id}}\n      {{t 'user.profile.edit'}}\n    {{/link-to}}\n  </li>\n  <li role=\"presentation\">\n    {{#link-to 'user.privacity' user.id}}\n      {{t 'Privacity'}}\n    {{/link-to}}\n  </li>\n</ul>\n<div class=\"tab-content\">\n  {{{form-model 'user' data validationError}}}\n</div>",
      "user/find": "<div class=\"users\">\n{{#we-grid items=data cols=3}}\n  <div class=\"user-list-item text-center\">\n  {{#link-to 'user.findOne' id}}\n    {{#if avatar}}\n      {{we-image avatar 'medium' width=\"100%\"}}\n    {{else}}\n      <img src=\"/avatar/{{id}}\" width=\"100%\">\n    {{/if}}\n\n    <h3>{{displayName}}</h3>\n  {{/link-to}}\n  </div>\n{{/we-grid}}\n</div>",
      "user/findOne": "<div class=\"user-banner\"\n  {{#if data.banner}}{{#each data.banner}}\n    style=\"background-image: url('{{urls.original}}');\"\n  {{/each}}{{/if}}\n>\n&nbsp;\n</div>\n\n<div class=\"clearfix\"></div>\n<div class=\"user-biography\">{{{data.biography}}}</div>",
      "user/teaser": "{{!-- TODO --}}",
      "user/findUserPrivacity": "<ul class=\"nav nav-tabs\">\n  <li role=\"presentation\">\n    {{#link-to 'user.edit' user.id}}\n      {{t 'user.profile.edit'}}\n    {{/link-to}}\n  </li>\n  <li role=\"presentation\" class=\"active\">\n    {{#link-to 'user.privacity' user.id}}\n      {{t 'Privacity'}}\n    {{/link-to}}\n  </li>\n</ul>\n<div class=\"tab-content\">\n\n<form  method=\"post\">\n  <table class=\"table\">\n    <thead>\n      <tr>\n        <th>{{t 'user.privacity.fieldName'}}</th>\n        <th>{{t 'Privacity'}}</th>\n      </tr>\n    </thead>\n    <tbody>\n      {{#each publicFields}}\n        <tr>\n          <td>{{t this}}</td>\n          <td>Public</td>\n        </tr>\n      {{/each}}\n      {{#each data}}\n        {{#ifCond @key 'metadata'}}\n        {{else}}\n          <tr>\n            <td>{{@key}}</td>\n            <td>\n              <select class=\"form-control\" name=\"{{@key}}\">\n                {{#ifCond record.privacity 'private'}}\n                  <option value=\"public\">{{t 'Public'}}</option>\n                  <option selected=\"selected\" value=\"private\">{{t 'Private'}}</option>\n                {{else}}\n                  <option selected=\"selected\" value=\"public\">{{t 'Public'}}</option>\n                  <option value=\"private\">{{t 'Private'}}</option>\n                {{/ifCond}}\n              </select>\n            </td>\n          </tr>\n        {{/ifCond}}\n      {{/each}}\n      <tr>\n        <td colspan=\"2\">\n          <button class=\"btn btn-primary\">Save</button>\n        </td>\n      </tr>\n    </tbody>\n  </table>\n</form>\n</div>\n",
      "components-core": "{{#can permission='manage_widget' roleNames=req.userRoleNames}}\n{{!-- sort widget modal --}}\n<div aria-hidden=\"true\" class=\"modal\" id=\"sortWidgetFormModal\"><div class=\"modal-dialog modal-lg\"><div class=\"modal-content\"><div class=\"modal-header\"><button aria-hidden=\"true\" data-dismiss=\"modal\" class=\"close\" type=\"button\">×</button><h4 class=\"modal-title\">{{t 'widget.sort'}}</h4></div><div class=\"modal-body\"></div></div></div></div>\n{{!-- update widget modal --}}\n<div aria-hidden=\"true\" class=\"modal\" id=\"updateWidgetFormModal\"><div class=\"modal-dialog modal-lg\"><div class=\"modal-content\"><div class=\"modal-header\"><button aria-hidden=\"true\" data-dismiss=\"modal\" class=\"close\" type=\"button\">×</button><h4 class=\"modal-title\">{{t 'widget.update'}}</h4></div><div class=\"modal-body\"></div></div></div></div>\n{{!-- add widget form modal --}}\n<div aria-hidden=\"true\" class=\"modal\" id=\"AddWidgetFormModal\">\n<form>\n  <div class=\"modal-dialog modal-lg\">\n    <div class=\"modal-content\">\n      <div class=\"modal-header\">\n        <button aria-hidden=\"true\" data-dismiss=\"modal\" class=\"close\" type=\"button\">×</button><h4 class=\"modal-title\">{{t 'widget.add'}}</h4>\n      </div>\n      <div class=\"modal-body\">\n        <div class=\"steps-body\">\n          <div class=\"step1\">\n            <div class=\"form-group\">\n              <label>{{t 'layout.select.widget.type'}}</label>\n              <select id=\"AddWidgetFormModal-select-type\" name=\"type\" class=\"form-control\">\n                <option value=\"\"></option>\n              </select>\n            </div>\n            <div class=\"clearfix\"></div><hr>\n            <div class=\"form-group\">\n              <button type=\"button\" class=\"btn btn-primary\" onclick=\"we.structure.goToStep2();\"><i class=\"glyphicon glyphicon-step-forward\"></i> {{t 'Next'}}</button>\n            </div>\n          </div>\n          <div class=\"step2\"></div>\n        </div>\n      </div>\n    </div>\n  </div>\n</form>\n</div>\n{{/can}}\n<div class=\"system-actions\">\n  {{#can permission='manage_widget' roleNames=req.userRoleNames}}\n  <div class=\"we-layout-edit-btn\">\n    <button id=\"we-layout-start-edit-btn\" onclick=\"we.structure.showLayoutEditor();\" type=\"button\" class=\"btn btn-default btn-sm\"><i class=\"glyphicon glyphicon-edit text-info\"></i> {{t 'layout.edit.btn'}}</button>\n    <button id=\"we-layout-stop-edit-btn\" style=\"display:none;\" onclick=\"we.structure.hideLayoutEditor();\" type=\"button\" class=\"btn btn-default btn-sm\"><i class=\"glyphicon glyphicon-check text-success\"></i> {{t 'layout.edit.hide.btn'}}</button>\n  </div>\n  {{/can}}\n  {{#can permission='access_admin' roleNames=req.userRoleNames}}\n  <div class=\"we-admin-btn\">\n    <a href=\"/admin\" class=\"btn btn-default btn-sm\"><span class=\"glyphicon glyphicon-cog\"></span></a>\n  </div>\n  {{/can}}\n</div>",
      "default-layout": "{{#region 'highlighted' class=\"col col-md-12\"}}{{/region}}\n\n{{{body}}}",
      "messages": "{{#each messages}}\n  <div class=\"alert alert-{{status}} alert-dismissable\">\n    <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>\n    {{{message}}}\n  </div>\n{{/each}}",
      "paginate": "<nav>\n  <ul class=\"pagination\">\n    {{#if previus}}\n      <li><a href=\"{{{previus.p}}}\" aria-label=\"Previous\">\n        <span aria-hidden=\"true\">&laquo;</span>\n      </a></li>\n    {{/if}}\n    {{#if haveMoreBefore}}\n      <li><a href=\"{{{first.p}}}\">\n        <span>{{{first.n}}}</span>\n      </a></li>\n      <li class=\"paginate-have-more-before disabled\">\n        <span>...</span>\n      </a></li>\n    {{/if}}\n    {{#each links}}\n      <li {{#if active}}class=\"active\"{{/if}}><a href=\"{{{p}}}\">{{{n}}}</a></li>\n    {{/each}}\n    {{#if haveMoreAfter}}\n      <li class=\"paginate-have-more-after disabled\"><a>\n        <span>...</span>\n      </a></li>\n      <li><a href=\"{{{last.p}}}\">\n        <span>{{{last.n}}}</span>\n      </a></li>\n    {{/if}}\n    {{#if next}}\n      <li><a href=\"{{{next.p}}}\" aria-label=\"Next\">\n        <span aria-hidden=\"true\">&raquo;</span>\n      </a></li>\n    {{/if}}\n  </ul>\n</nav>",
      "default/create": "{{{form-model model data validationError}}}",
      "default/edit": "{{{form-model model data validationError}}}",
      "default/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n\n{{#each data}}\n  <tr>\n    <td>{{id}}</td>\n    <td>\n      {{we-action-view-btn ../resourceName this ../req id}}\n      {{we-action-edit-btn ../resourceName this ../req id}}\n      {{we-action-delete-btn ../resourceName this ../req id}}\n    </td>\n  </tr>\n{{/each}}\n\n  </tbody>\n  <tfoot>\n    <td colspan=\"2\">\n      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n    </td>\n  </tfoot>\n</table>",
      "default/delete": "<div class=\"text-center\">\n  <p>{{{t deleteMsg}}}</p>\n  <form method=\"post\">\n    <a class=\"btn btn-default\" href=\"{{redirectTo}}\">{{t 'Return'}}</a>\n    <button class=\"btn btn-danger\">{{t 'Delete'}}</button>\n    <input name=\"redirectTo\" type=\"hidden\" value=\"{{redirectTo}}\">\n  </form>\n</div>",
      "default/findOne": "<table class=\"table table-striped table-hover\">\n  <tbody>\n    {{#each data.dataValues }}\n      <tr>\n        <th>{{@key}}</th>\n        <td>{{this}}</td>\n      </tr>\n    {{/each}}\n  </tbody>\n  <tfoot>\n    <td colspan=\"2\">\n      {{we-action-edit-btn resourceName data req data.id}}\n      {{we-action-delete-btn resourceName data req data.id}}\n    </td>\n  </tfoot>\n</table>",
      "admin/theme/index": "<table class=\"table\">\n  <thead>\n    <tr>\n      <th>{{t 'name'}}</th>\n      <th>Load as</th>\n      <th>{{t 'version'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n    {{#each themes}}\n      <tr>\n        <td>{{name}}</td>\n        <td>\n          {{#ifCond name ../themeConfigs.app}}\n            <span class=\"label label-success\">app</span>\n          {{/ifCond}}\n          {{#ifCond name ../themeConfigs.admin}}\n            <span class=\"label label-warning\">admin</span>\n          {{/ifCond}}\n        </td>\n        <td>{{version}}</td>\n        <td></td>\n      </tr>\n    {{/each}}\n  </tbody>\n</table>\n{{!--\n\n<form method=\"get\">\n  <h3>Search and install:</h3>\n  <div class=\"form-group\" >\n    <label for=\"findNewTheme\">Theme name:</label>\n    <input type=\"text\" class=\"form-control\" id=\"findNewTheme\" name=\"findNew\" value=\"{{req.query.findNew}}\">\n  </div>\n</form>\n\n{{#if searchedThemeInfo}}\n  <h4>{{req.query.findNew}} info:</h4>\n  <pre>{{searchedThemeInfo}}</pre>\n  <form method='post'>\n    <input type=\"hidden\" name=\"redirectTo\" value=\"{{req.url}}\">\n    <input type=\"hidden\" name=\"type\" value=\"theme\">\n    <input type=\"hidden\" name=\"name\" value=\"{{req.query.findNew}}\">\n    <div class=\"form-group\">\n      <button class=\"btn btn-primary\">Install</button>\n    </div>\n  </form>\n{{/if}}\n\n{{#if searchedThemeNotFound}}\n  <p>Not found</p>\n{{/if}} --}}",
      "term/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req currentVocabulary.name}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'text'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n  {{#each data}}\n    <tr>\n      <td>{{id}}</td>\n      <td>{{text}}</td>\n      <td>\n        {{we-action-view-btn ../resourceName this ../req vocabularyName text}}\n        {{we-action-edit-btn ../resourceName this ../req vocabularyName text}}\n        {{we-action-delete-btn ../resourceName this ../req vocabularyName text}}\n      </td>\n    </tr>\n  {{/each}}\n  </tbody>\n  <tfoot>\n    <td colspan=\"3\">\n      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n    </td>\n  </tfoot>\n</table>",
      "term/findOne": "<div class=\"term-record\">\n  <h2>{{t 'term'}}: {{data.text}} {{we-action-edit-btn resourceName data req data.vocabularyName data.text}}</h2>\n</div>\n<hr>\n{{#if relatedModels}}\n  {{#each relatedModels}}\n    {{#if relatedRecord}}\n      <div class=\"term-related-record\">\n        {{render-record-teaser modelName='article' record=relatedRecord locals=..}}\n      </div>\n    {{/if}}\n  {{/each}}\n  {{paginate count=metadata.relatedModelsCount limit=query.limit currentPage=query.page req=req}}\n{{/if}}",
      "admin/term/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req currentVocabulary.id}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'text'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n\n{{#each data}}\n  <tr>\n    <td>{{id}}</td>\n    <td>{{text}}</td>\n    <td>\n      {{we-action-view-btn ../resourceName this ../req ../currentVocabulary.id id}}\n      {{we-action-edit-btn ../resourceName this ../req ../currentVocabulary.id id}}\n      {{we-action-delete-btn ../resourceName this ../req ../currentVocabulary.id id}}\n    </td>\n  </tr>\n{{/each}}\n\n  </tbody>\n  <tfoot>\n    <td colspan=\"3\">\n      <div class=\"paginate-sumary\">\n        {{t 'paginate.sumary' recordsLength=data.length count=metadata.count}}\n      </div>\n      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n    </td>\n  </tfoot>\n</table>",
      "admin/term/findOne": "<div class=\"term-record\">\n  <h2>{{t 'term'}}: {{data.text}} {{we-action-edit-btn resourceName data req data.vocabularyName data.text}}</h2>\n</div>\n\n<hr>\n\n{{#if relatedModels}}\n  {{#each relatedModels}}\n    {{#if relatedRecord}}\n      <div class=\"term-related-record\">\n        {{render-record-teaser modelName='article' record=relatedRecord locals=../../..}}\n      </div>\n    {{/if}}\n  {{/each}}\n\n  {{paginate count=metadata.relatedModelsCount limit=query.limit currentPage=query.page req=req}}\n{{/if}}",
      "admin/vocabulary/find": "<div class=\"actions\">\n{{we-action-create-btn resourceName req}}\n</div>\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>ID</th>\n      <th>{{t 'name'}}</th>\n      <th>{{t 'actions'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n\n{{#each data}}\n  <tr>\n    <td>{{id}}</td>\n    <td>{{name}}</td>\n    <td>\n      {{we-action-view-btn ../resourceName this ../req id}}\n      {{we-action-edit-btn ../resourceName this ../req id}}\n      {{we-action-delete-btn ../resourceName this ../req id}}\n\n      {{#link-to 'admin.term.find' id class=\"btn btn-default btn-sm\"}}\n        <i class=\"fa fa-tags\"></i> {{t 'terms'}}\n      {{/link-to}}\n    </td>\n  </tr>\n{{/each}}\n\n  </tbody>\n  <tfoot>\n    <td colspan=\"3\">\n      <div class=\"paginate-sumary\">\n        {{t 'paginate.sumary' recordsLength=data.length count=metadata.count}}\n      </div>\n      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n    </td>\n  </tfoot>\n</table>",
      "forms/vocabulary/category": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  {{{field-help-error error}}}\n\n  <select id=\"{{fieldId}}\" name=\"{{name}}\"\n    class=\"form-control\" {{fieldAttrs}}\n    {{#if field.formFieldMultiple}}multiple=\"multiple\"{{/if}} we-select-url=\"/term\" we-select-model=\"term\">\n    {{#if value}}\n      {{#isArray value}}\n        {{#each value}}\n          <option selected=\"selected\" value=\"{{this}}\">{{this}}</option>\n        {{/each}}\n      {{else}}\n        <option selected=\"selected\" value=\"{{value}}\">{{value}}</option>\n      {{/isArray}}\n    {{/if}}\n  </select>\n\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>\n<script>$(document).ready(function() {\n  we.components.select.init('#{{fieldId}}',{\n    url: '/vocabulary/{{field.vocabularyName}}/term',\n    processResults: function processResults(data, params) {\n      var values = null;\n      if (data.term) {\n        values = data.term.map(function(v){ return { id: v.text, text: v.text }; });\n      }\n      return { results: values};\n    }\n  });\n});</script>",
      "forms/vocabulary/tag-input": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n\n  {{#if value}}\n    {{#isArray value}}\n      {{#each value}}\n        <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"{{field.type}}\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{fieldAttrs}} value=\"{{this}}\">\n      {{/each}}\n    {{else}}\n      <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"{{field.type}}\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{fieldAttrs}} value=\"{{value}}\">\n    {{/isArray}}\n  {{else}}\n    <input id=\"{{fieldId}}\" name=\"{{name}}\" type=\"{{field.type}}\" class=\"form-control\" placeholder=\"{{t placeholder}}\" {{fieldAttrs}} value=\"\">\n  {{/if}}\n\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>",
      "forms/vocabulary/tag": "<div class=\"form-group {{#if error}}has-error has-feedback{{/if}}\">\n  <label for=\"{{fieldId}}\">{{t fieldName}} {{#ifCond field.allowNull false}}*{{/ifCond}}</label>\n  {{{field-help-error error}}}\n\n  <select id=\"{{fieldId}}\" name=\"{{name}}\"\n    class=\"form-control\" {{fieldAttrs}}\n    {{#if field.formFieldMultiple}}multiple=\"multiple\"{{/if}}\n    we-select-url=\"/term\" we-select-model=\"term\">\n    {{#if value}}\n      {{#isArray value}}\n        {{#each value}}\n          <option selected=\"selected\" value=\"{{this}}\">{{this}}</option>\n        {{/each}}\n      {{else}}\n        <option selected=\"selected\" value=\"{{value}}\">{{value}}</option>\n      {{/isArray}}\n    {{/if}}\n  </select>\n\n  <p class=\"help-block\">{{t help}}</p>\n  {{{field-help-error error}}}\n</div>\n<script>$(document).ready(function() {\n  we.components.select.init('#{{fieldId}}', {\n    tags: true,\n    url: '/vocabulary/{{field.vocabularyName}}/term',\n    processResults: function processResults(data, params) {\n      var values = null;\n      if (data.term) {\n        values = data.term.map(function(v){ return { id: v.text, text: v.text }; });\n      }\n      if (values) values.unshift( {\n        text: params.term, id: params.term\n      });\n      return { results: values};\n    }\n  });\n});</script>",
      "region": "<div data-we-region=\"{{{name}}}\" id=\"region-{{{name}}}\" class=\"{{attrs.class}}\">\n  <div class=\"we-region-actions\">\n    {{name}}:\n    <button onclick=\"we.structure.openAddWidgetForm('{{{name}}}');\" type=\"button\" class=\"btn btn-default\"><i class=\"glyphicon glyphicon-plus\"></i></button>\n    <button onclick=\"we.structure.sortRegionWidgetsForm('{{{name}}}');\" type=\"button\" class=\"btn btn-default\"><i class=\"glyphicon glyphicon-align-justify\"></i></button>\n  </div>\n  <div id=\"region-{{name}}-widgets\" class=\"region-widgets\">{{{widgets}}}</div>\n</div>",
      "widget": "<div id=\"widget-{{{record.id}}}\" data-record-widget-type=\"{{{record.type}}}\" data-model-widget=\"{{{record.id}}}\" class=\"widget widget-{{record.type}} widget-{{#if record.hide}}hidden{{/if}}\">\n  <div class=\"we-region-widget-actions\">\n    {{t 'Widget'}}: {{{record.title}}} {{{record.id}}}:\n    <button onclick=\"we.structure.updateWidget({{{record.id}}});\" type=\"button\" class=\"btn btn-default\">\n      <i class=\"glyphicon glyphicon-pencil\"></i> {{t 'Edit'}}\n    </button>\n\n    <button onclick=\"we.structure.deleteWidget({{{record.id}}});\" type=\"button\" class=\"btn btn-default\">\n      <i class=\"glyphicon glyphicon glyphicon-remove text-danger\"></i> {{t 'Delete'}}\n    </button>\n  </div>\n  {{#unless record.hide}}\n    <div class=\"widget-header\">\n      {{#if record.title}}\n        <h3><bind-html {{{attrTitle}}}>{{{record.title}}}</bind-html></h3>\n      {{/if}}\n    </div>\n    <div class=\"widget-content\">{{{widgetContent}}}</div>\n  {{/unless}}\n</div>\n",
      "widget/sortWidgets": "<form method=\"POST\">\n<table class=\"table table-striped table-hover sorted_table\">\n  <thead>\n    <tr>\n      <th></th>\n      <th>ID</th>\n      <th>Title</th>\n      <th>Widget Name</th>\n    </tr>\n  </thead>\n  <tbody class=\"ui-sortable\">\n    {{#each data}}\n      <tr model-widget=\"{{id}}\" class=\"ui-state-default ui-sortable-handle\" model-id=\"{{id}}\" data-weight=\"{{weight}}\">\n        <td style=\"width: 30px; cursor: move;\">\n          <span class=\"glyphicon glyphicon-resize-vertical\"></span>\n        </td>\n\n        <td>\n          <bind model-widget-{{id}}=\"id\">{{id}}</bind>\n          <input type=\"hidden\" name=\"widgetId\" value=\"{{id}}\">\n        </td>\n        <td><bind model-widget-{{id}}=\"title\">{{title}}</bind></td>\n        <td><bind model-widget-{{id}}=\"type\">{{type}}</bind></td>\n      </tr>\n    {{/each}}\n  </tbody>\n  <tfoot><tr><td colspan=\"4\">\n    <button type=\"button\" data-dismiss=\"modal\" class=\"btn btn-primary\">{{t 'done'}}</button>\n  </td></tr></tfoot>\n</table>\n</form>\n\n<script> $(function() {\n  we.admin.layouts.widgetTableSorter('.sorted_table > tbody', '{{regionName}}', '{{layoutName}}');\n});</script>",
      "we-theme-blog-startbootstrap-clean/html": "<!DOCTYPE html>\n<html lang=\"{{locale}}\">\n<head>\n  <title>{{title}}</title>\n  {{{render-metadata-tags}}}\n  {{{render-stylesheet-tags}}}\n  {{{render-javascript-tags 'header'}}}\n  <!-- Custom Fonts -->\n  <link href=\"http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic\" rel=\"stylesheet\" type=\"text/css\">\n  <link href=\"http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800\" rel=\"stylesheet\" type=\"text/css\">\n</head>\n<body class=\"{{model}} {{model}}-{{id}} {{action}}\">\n  {{we-event event=\"we-html-body-start\"}}\n  {{{template 'partials/header'}}}\n  {{{layoutHtml}}}\n  {{{template 'partials/footer'}}}\n  {{we-event event=\"we-html-body-end\"}}\n</body>\n</html>",
      "we-theme-blog-startbootstrap-clean/home/index": "",
      "we-theme-blog-startbootstrap-clean/article/find": "<div class=\"actions\">\n  {{we-action-create-btn 'article' req}}\n\n  {{#can permission='access_articles_unpublished' roleNames=req.userRoleNames}}\n    {{#if query.where.published}}\n      <a class=\"btn btn-default\" href=\"{{req.path}}?published=false\">{{t 'article.unpublished'}}</a>\n    {{else}}\n      <a class=\"btn btn-default\" href=\"{{req.path}}?published=true\">{{t 'article.published'}}</a>\n    {{/if}}\n\n  {{/can}}\n\n  {{rss-btn locals=this}}\n</div>\n{{#each data}}\n  {{render-record-teaser modelName='article' record=this locals=..}}\n  <hr>\n{{else}}\n  <p>{{t 'article.find.empty'}}</p>\n{{/each}}\n\n{{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}",
      "we-theme-blog-startbootstrap-clean/article/findOne": "<div class=\"article-full {{#unless data.published}}unpublished{{/unless}}\">\n{{#if data.creator}}<div class=\"article-creator\">\n  <p class=\"post-meta\">{{t 'Posted by'}}\n    {{#link-to-record record=data.creator}}{{data.creator.displayName}}{{/link-to-record}}\n    {{t 'on'}} {{we-date data.createdAt}}\n    {{#if data.category}}{{#each data.category}}\n      <small>-\n      {{#link-to 'term.findOne' 'Category' this}} {{this}} {{/link-to}}\n      </small>\n    {{/each}}{{/if}}\n  </p>\n</div>{{/if}}\n\n{{we-action-edit-btn resourceName data req data.id}}\n{{we-action-delete-btn resourceName data req data.id}}\n{{article-publish-btn record=data req=req}}\n\n\n{{#unless data.published}}\n<div class=\"article-published-status\">\n<br>\n  <strong>{{t 'form-article-published'}}:</strong> <span class=\"label label-warning\">{{t 'article.unpublished'}}</span>\n</div>\n{{/unless}}\n\n<div class=\"article-body\">{{{data.body}}}</div>\n\n{{#if data.images}}\n  <h4 class=\"article-galery-title\">{{t 'form-article-images'}}</h4>\n  <div class=\"article-galery\">\n    {{we-fancybox-galery id=\"articleImageGalery\" rel=\"article\" images=data.images style='medium'}}\n  </div>\n{{/if}}\n\n{{#if data.attachment}}\n  <h4 class=\"article-attachment-title\">{{t 'form-article-attachment'}}</h4>\n  <div class=\"article-attachment\">\n    <table class=\"table table-bordered\">\n      <thead><tr>\n        <th>{{t 'Name'}}</th>\n        <th>{{t 'Actions'}}</th>\n      </tr></thead>\n      <tbody>\n        {{#each data.attachment}}\n          <tr>\n            <td data-file-name>{{originalname}}</td>\n            <td>\n              <a class=\"btn btn-default\" href=\"{{urls.original}}\" text=\"{{originalname}}\" download=\"{{originalname}}\">{{t 'download'}}</a>\n            </td>\n          </tr>\n        {{/each}}\n      </tbody>\n    </table>\n  </div>\n{{/if}}\n\n{{#if data.tags}}\n  <div>{{t 'form-article-tags'}}: {{we-terms data.tags }}</div>\n  <div class=\"clearfix\"> </div>\n{{/if}}\n<hr>\n</div>",
      "we-theme-blog-startbootstrap-clean/layouts/article": "<header class=\"intro-header\"\n{{#each data.featuredImage}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n          <hr class=\"small\">\n          {{#if data.about}}\n            <span class=\"subheading\">{{data.about}}</span>\n          {{else}}\n            <span class=\"subheading\">{{req.we.config.subtitle}}</span>\n          {{/if}}\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/layouts/full-layout": "<header class=\"intro-header\"\n  {{#each data.featuredImage}}\n    style=\"background-image: url('{{urls.original}}')\"\n  {{else}}\n    {{#if req.we.config.site.homeBg}}\n      style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n    {{else}}\n      style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n    {{/if}}\n  {{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n          <hr class=\"small\">\n          <span class=\"subheading\">{{req.we.config.subtitle}}</span>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-lg-9\">\n      <div>{{we-breadcrumb locals=this}}</div>\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n\n    <div class=\"col-lg-3\">\n      {{#region 'sidebar'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/layouts/fullwidth": "<header class=\"intro-header\"\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-lg-12\">\n      <div>{{we-breadcrumb locals=this}}</div>\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/layouts/portfolio": "<header class=\"intro-header\"\n{{#each data.featuredImage}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}}\n>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        <div class=\"site-heading\">\n          <h1>{{title}}</h1>\n        </div>\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    <div class=\"col-md-12\">\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n      {{#region 'highlighted'}}{{/region}}\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/layouts/user": "<header class=\"intro-header\"\n{{#each data.banner}}\n  style=\"background-image: url('{{urls.original}}')\"\n{{else}}\n  {{#if req.we.config.site.homeBg}}\n    style=\"background-image: url('{{req.we.config.site.homeBg}}')\"\n  {{else}}\n    style=\"background-image: url('/public/theme/we-theme-blog-startbootstrap-clean/img/home-bg.jpg')\"\n  {{/if}}\n{{/each}} >\n\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        {{#ifCond model 'user'}}\n          <div class=\"site-heading {{#ifCond name 'user.findOne'}}{{else}}small{{/ifCond}}\">\n            <h1>{{data.displayName}}</h1>\n            <hr class=\"small\">\n            <span class=\"subheading\">{{#each data.organization}}{{this}}{{/each}}</span>\n          </div>\n        {{else}}\n          <div class=\"site-heading {{#ifCond name 'user.findOne'}}{{else}}small{{/ifCond}}\">\n            <h1>{{title}}</h1>\n            <hr class=\"small\">\n          </div>\n        {{/ifCond}}\n      </div>\n    </div>\n  </div>\n</header>\n<!-- Main Content -->\n<div class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-md-12\" id=\"sysMessagesArea\">{{{we-messages}}}</div>\n\n    <div class=\"col-md-12\">{{we-breadcrumb locals=this}}</div>\n\n    {{#region 'highlighted' class=\"col-md-12\"}}{{/region}}\n\n    <div class=\"col-md-3\">\n      {{#each data.avatar}}\n        {{we-image this 'medium' class=\"thumbnail\"}}\n      {{else}}\n        <img src=\"/public/theme/we-theme-blog-startbootstrap-clean/img/avatar.png\" class=\"img-thumbnail\">\n      {{/each}}\n\n      <div class=\"user-username text-center\">@{{data.username}}</div>\n\n      {{#region 'sidebar'}}{{/region}}\n    </div>\n    <div class=\"col-md-9\" id=\"content\" role=\"main\" >\n      {{{body}}}\n      {{#region 'afterContent'}}{{/region}}\n    </div>\n  </div>\n</div>",
      "we-theme-blog-startbootstrap-clean/partials/footer": "<hr>\n<!-- Footer -->\n<footer>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1\">\n        {{we-menu req.we.menu.social}}\n        <p class=\"copyright text-muted\">\n          Copyleft, <strong>{{req.we.config.appName}}</strong> 2015\n          - <a href=\"http://wejs.org\">We.js ;) powered!</a>\n        </p>\n      </div>\n    </div>\n  </div>\n</footer>\n\n{{{render-bootstrap-config}}}\n{{{render-javascript-tags 'footer'}}}\n{{{render-client-component-templates}}}",
      "we-theme-blog-startbootstrap-clean/partials/header": "<a id=\"skippy\" class=\"sr-only-focusable\" href=\"#content\">{{t 'skip.to.content.link.text'}}</a>\n<nav class=\"navbar navbar-default navbar-custom navbar-fixed-top\">\n  <div class=\"container-fluid\">\n    <div class=\"navbar-header page-scroll\">\n        <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n          <span class=\"sr-only\">Toggle navigation</span>\n          <span class=\"icon-bar\"></span>\n          <span class=\"icon-bar\"></span>\n          <span class=\"icon-bar\"></span>\n        </button>\n        {{#link-to 'main.index' class=\"navbar-brand\"}}\n          {{#if req.we.config.appLogo}}<img class=\"site-logo\" src=\"{{req.we.config.appLogo}}\">{{/if}}\n          {{appName}}\n        {{/link-to}}\n    </div>\n    {{we-menu req.we.menu.main}}\n    {{we-menu userMenu}}\n  </div>\n</nav>",
      "we-theme-blog-startbootstrap-clean/portfolio/findOne": "\n<div class=\"portfolio\">\n  <h1>{{data.title}}</h1>\n\n<div class=\"row\">\n<div class=\"col-md-8\">\n\n  {{we-action-edit-btn resourceName data req data.id}}\n  {{we-action-delete-btn resourceName data req data.id}}\n\n  <div class=\"portfolio-body\">{{{data.description}}}</div>\n\n  {{#if data.attachment}}\n    <h4 class=\"article-attachment-title\">{{t 'form-portfolio-attachment'}}</h4>\n    <div class=\"article-attachment\">\n      <table class=\"table table-bordered\">\n        <thead><tr>\n          <th>{{t 'Name'}}</th>\n          <th>{{t 'Actions'}}</th>\n        </tr></thead>\n        <tbody>\n          {{#each data.attachment}}\n            <tr>\n              <td data-file-name>{{originalname}}</td>\n              <td>\n                <a class=\"btn btn-default\" href=\"{{urls.original}}\" text=\"{{originalname}}\" download=\"{{originalname}}\">{{t 'download'}}</a>\n              </td>\n            </tr>\n          {{/each}}\n        </tbody>\n      </table>\n    </div>\n  {{/if}}\n</div>\n<div class=\"col-md-4\">\n  {{#if data.tags}}\n    <div class=\"portfolio-tags\">{{we-terms data.tags }}</div>\n    <div class=\"clearfix\"></div>\n  {{/if}}\n  <hr>\n  {{#if data.images}}\n    <h4 class=\"article-galery-title\">{{t 'form-article-images'}}</h4>\n    <div class=\"article-galery\">\n      {{we-fancybox-galery id=\"articleImageGalery\" rel=\"article\" images=data.images style='medium'}}\n    </div>\n  {{/if}}\n</div>\n\n</div>\n\n</div>",
      "we-theme-admin-default/html": "<!DOCTYPE html>\n<html lang=\"{{locale}}\">\n  <head>\n    <title>{{title}} | {{req.we.config.appName}}</title>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0\">\n    {{#if _csrf}}<meta name=\"csrf-token\" content=\"{{_csrf}}\" />{{/if}}\n    {{{render-metadata-tags}}}\n    {{{render-stylesheet-tags}}}\n    {{{render-javascript-tags 'header'}}}\n  </head>\n  <body>\n    {{we-event event=\"we-html-body-start\"}}\n    <div id=\"wrapper\">\n      {{{template 'partials/header'}}}\n      {{{layoutHtml}}}\n    </div>\n    {{{render-bootstrap-config}}}\n    {{{render-javascript-tags 'footer'}}}\n    {{we-event event=\"we-html-body-end\"}}\n  </body>\n</html>",
      "we-theme-admin-default/layout": "<div id=\"page-wrapper\" style=\"min-height: 160px;\">\n  <div class=\"row\">\n    <div class=\"col-lg-12\">\n      <ol class=\"ember-view breadcrumbs breadcrumb\">\n        <li class=\"first current\">\n          {{#link-to 'admin.index' }}{{t 'home'}}{{/link-to}}\n        </li>\n      </ol>\n\n      {{#unless skipLayoutTitle}}{{#if title}}\n        <h1 class=\"page-header\">{{title}}</h1>\n      {{/if}}{{/unless}}\n\n      <div id=\"sysMessagesArea\">{{{we-messages}}}</div>\n      <div id=\"content\" role=\"main\">{{{body}}}</div>\n    </div>\n  </div>\n</div>",
      "we-theme-admin-default/home/index": "",
      "we-theme-admin-default/partials/header": "<a id=\"skippy\" class=\"sr-only-focusable \" href=\"#content\">{{t 'skip.to.content.link.text'}}</a>\n<nav class=\"navbar navbar-default navbar-static-top\" role=\"navigation\" style=\"margin-bottom: 0\">\n<div class=\"navbar-header\">\n  <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n    <span class=\"sr-only\">Toggle navigation</span>\n    <span class=\"icon-bar\"></span>\n    <span class=\"icon-bar\"></span>\n    <span class=\"icon-bar\"></span>\n  </button>\n  {{#link-to 'main.index' class=\"navbar-brand\"}}\n    {{appName}}\n  {{/link-to}}\n</div>\n{{we-menu userMenu}}\n<div class=\"navbar-default sidebar\" role=\"navigation\">\n  <div class=\"sidebar-nav navbar-collapse\">\n    {{we-menu adminMenu id=\"side-menu\"}}\n  </div>\n</div>\n</nav>",
      "we-theme-admin-default/admin/permission/index": "<ul class=\"nav nav-tabs\">\n  <li role=\"presentation\">\n    {{#link-to 'admin.user.find'}}{{t 'user.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\">\n    {{#link-to 'admin.role.find'}}{{t 'role.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\" class=\"active\">\n    {{#link-to 'permission_manage'}}{{t 'permission_manage'}}{{/link-to}}\n  </li>\n</ul>\n<br>\n<div class=\"row\">\n  <div class=\"col-lg-12\">\n    <table class=\"table table-striped table-hover sorted_table\" id=\"permissionsTable\">\n      <thead>\n        <tr><th>{{t 'permission.title'}}</th>\n        {{#each roles}}<th>{{name}}</th>{{/each}}</tr>\n      </thead>\n      <tbody>\n      {{#each permissions as |permission|}}\n        <tr><td>{{name}}</td>\n        {{#each ../roles as |role|}}<td>\n          {{#ifCond role.name 'administrator'}}\n            <input checked type=\"checkbox\" disabled=\"disabled\">\n          {{else}}\n            {{#we-contains permissions permission.name}}\n              <input checked type=\"checkbox\" role-name=\"{{role.name}}\" role-id=\"{{role.id}}\" permission-name=\"{{permission.name}}\" title=\"{{role.name}}\">\n            {{else}}\n              <input type=\"checkbox\" role-name=\"{{role.name}}\" permission-name=\"{{permission.name}}\" role-id=\"{{role.id}}\" title=\"{{role.name}}\">\n            {{/we-contains}}\n          {{/ifCond}}\n        </td>{{/each}}</tr>\n      {{/each}}\n        {{#each widgets}}\n          <tr model-widget=\"{{id}}\" class=\"ui-state-default ui-sortable-handle\" model-id=\"{{id}}\" data-weight=\"{{weight}}\">\n            <td style=\"width: 30px; cursor: move;\"><span class=\"glyphicon glyphicon-resize-vertical\"></span></td>\n            <td><bind model-widget-{{id}}=\"id\">{{id}}</bind></td>\n            <td><bind model-widget-{{id}}=\"title\">{{title}}</bind></td>\n            <td><bind model-widget-{{id}}=\"type\">{{type}}</bind></td>\n            <td>\n              <button we-action=\"event\" event=\"update-widget-modal\" model-id=\"{{id}}\" type=\"button\" class=\"btn btn-primary\">Edit</button>\n              <a href=\"\" we-action=\"event\" event=\"model-delete-widget\" model=\"widget\" model-id=\"{{id}}\" class=\"btn btn-default\">Delete</a>\n            </td>\n          </tr>\n        {{/each}}\n      </tbody>\n    </table>\n  </div>\n</div>\n<script>$(function() {\n  we.admin.permission.liveUpdate('#permissionsTable');\n});</script>",
      "we-theme-admin-default/admin/role/updateUserRoles": "<form method=\"POST\">\n<table class=\"table table-striped table-hover\">\n  <thead>\n    <tr>\n      <th>&nbsp;</th>\n      <th>{{t 'name'}}</th>\n    </tr>\n  </thead>\n  <tbody>\n  {{#each rolesTable}}\n\n    {{#unless role.isSystemRole}}\n    <tr>\n      <td>\n        <input type=\"checkbox\" name=\"userRoles\" value=\"{{name}}\"\n          {{#if checked}}checked{{/if}}\n        >\n      </td>\n      <td>{{name}}</td>\n    </tr>\n    {{/unless}}\n\n  {{/each}}\n  </tbody>\n  <tfoot>\n    <tr>\n      <td colspan=\"2\">\n        <button class=\"btn btn-primary\">{{t 'save'}}</button>\n        {{we-action-view-btn 'admin.user' data req data.id}}\n      </td>\n    </tr>\n  </tfoot>\n</table>\n\n{{#if redirectTo}}\n  <input name=\"redirectTo\" type=\"hidden\" value=\"{{redirectTo}}\">\n{{/if}}\n</form>",
      "we-theme-admin-default/admin/user/find": "<ul class=\"nav nav-tabs\">\n  <li role=\"presentation\" class=\"active\">\n    {{#link-to 'admin.user.find'}}{{t 'user.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\">\n    {{#link-to 'admin.role.find'}}{{t 'role.find'}}{{/link-to}}\n  </li>\n  <li role=\"presentation\">\n    {{#link-to 'permission_manage'}}{{t 'permission_manage'}}{{/link-to}}\n  </li>\n</ul>\n\n<div class=\"row\">\n\n  <div class=\"col-lg-12\">\n    <br>\n    <form class=\"form-inline\" method=\"get\">\n\n      <div class=\"form-group form-group-sm\">\n        <label>{{t 'id'}}: </label>\n        <input class=\"form-control\" type=\"text\" name=\"id\" size=\"5\" value=\"{{req.query.id}}\">\n      </div>\n\n      <div class=\"form-group form-group-sm\">\n        <label>{{t 'fullName'}}: </label>\n        <input class=\"form-control\" type=\"text\" name=\"fullName\" value=\"{{req.query.fullName}}\">\n      </div>\n\n      <div class=\"form-group form-group-sm\">\n        <label>{{t 'Email'}}: </label>\n        <input class=\"form-control\" type=\"email\" name=\"email\" value=\"{{req.query.email}}\">\n      </div>\n\n      <button class=\"btn btn-default btn-sm btn-info\">{{t 'Search'}}</button>\n      <a href=\"{{req.path}}\" class=\"btn btn-sm btn-default pull-right\">{{t 'Reset'}}</a>\n    </form>\n    <br>\n  </div>\n\n  <div class=\"col-lg-12 actions\">\n    {{we-action-create-btn 'admin.user' req}}\n  </div>\n\n  <div class=\"col-lg-12\">\n    <table class=\"table table-striped table-hover\">\n      <thead>\n        <tr>\n          <th>id</th>\n          <th>{{t 'displayName'}}</th>\n          <th>{{t 'fullName'}}</th>\n          <th>{{t 'email'}}</th>\n          <th>{{t 'createdAt'}}</th>\n          <th>{{t 'actions'}}</th>\n        </tr>\n      </thead>\n      <tbody>\n      {{#each data}}\n        <tr>\n          <td>{{id}}</td>\n          <td>{{displayName}}</td>\n          <td>{{fullName}}</td>\n          <td>{{email}}</td>\n          <td>{{we-date createdAt}}</td>\n          <td>\n            {{we-action-view-btn 'admin.user' this ../req id}}\n            {{we-action-edit-btn 'admin.user' this ../req id}}\n            {{we-action-delete-btn 'admin.user' this ../req id}}\n\n            {{#link-to 'role.updateUserRoles' id class=\"btn btn-default btn-sm\"}}\n              {{t 'admin.user.roles'}}\n            {{/link-to}}\n          </td>\n        </tr>\n      {{/each}}\n      </tbody>\n      <tfoot>\n        <tr>\n          <td colspan=\"6\">\n            {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}\n          </td>\n        </tr>\n      </tfoot>\n    </table>\n  </div>\n</div>",
      "we-theme-admin-default/admin/user/findOne": "\n<div>\n{{#link-to 'auth.newPassword' data.id class=\"btn btn-default\" }}\n  {{t 'auth.new-password'}}\n{{/link-to}}\n</div>\n<br>\n\n<table class=\"table table-striped table-hover\">\n  <tbody>\n    {{#each data.dataValues }}\n      <tr>\n        <th>{{@key}}</th>\n        <td>{{this}}</td>\n      </tr>\n    {{/each}}\n  </tbody>\n  <tfoot>\n    <td colspan=\"2\">\n      {{we-action-edit-btn resourceName data req data.id}}\n      {{we-action-delete-btn resourceName data req data.id}}\n    </td>\n  </tfoot>\n</table>"
    }
  }
  
  };