{extends "page.tpl"}

{block "main"}
   {get_photos assign="photos" type="pages" id=$body.page.id}
   <main class="main container-wide html-page">
      <div class="html-page-{$body.page.id}">
         <div class="html-page-header html-header-{$body.page.data.text_color} {if !$photos} html-page-bg{/if}"{if $photos} style="background-image: url('{get_photo photo=$photos[0] size='category_header_bg'}');"{/if}>
            <div class="container-narrow">
               {include "components/breadcrumbs.tpl"}
               <h1>{$view->getTitle()}</h1>
            </div>
         </div>
         <div class="html-page-content page-contact container-narrow">
            <div class="page-left">
               {include 'components/block.need-help.tpl'}
               {include 'page/page-btns.tpl'}
               <div class="page-btns-block">
                  {$body.page.blocks[1]|inline_edit nofilter}
               </div>
            </div>
            <div class="page-right">
               {$body.page.blocks[0]|inline_edit nofilter}
            </div>
         </div>
         {include "components/instafeed.tpl" css_class="container container-flex" title="{t}@running_czsk{/t}"}
      </div>
   </main>
{/block}

{block "js-dynamic-load" append}
   <script src="/common/static/bootstrapvalidator/js/bootstrapValidator.js"></script>
   <script src="/common/static/bootstrapvalidator/js/language/{$ctrl.active_language_code}.js"></script>
{/block}
