public function postAjaxPagesGetBlock()
 {
     if (!Request::ajax()) {
         App::abort(404);
     }
     $element = PageBlock::where('id', Input::get('id'))->with('metas')->orderBy('order')->first()->metasByLang();
     #return $block->toJson();
     $locales = $this->locales;
     #Helper::dd($this->templates(__DIR__, '/views/tpl_block'));
     $templates = [];
     #foreach ($this->templates(__DIR__, '/views/tpl_block') as $template)
     #    @$templates[$template] = $template;
     $block_templates = $this->block_tpls();
     #Helper::tad($block_template);
     return View::make($this->module['tpl'] . '_block_edit', compact('element', 'locales', 'templates', 'block_templates'));
 }