@section('content') {{ Form::open(array('url' => 'admin/page/add', 'role' => 'form', 'class' => 'form-horizontal', 'files'=> true)) }} @if ($tree = \Page::getTree(0, true)) @endif @include('admin.partials.button')

 

@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language) @if ($code = strtolower($language->code)) @endif
{{ Form::text('content['.$language->id.'][title]', @$page->contents[$code]->title, array('class' => Config::get('custom.form.input-class'), 'id' => 'title_' . $code)) }}
@if($parent_id) @define $parent_page = Page::find($parent_id); @if($parent_page && $parent_page->display_lead)
@if(@$page->contents[$code]->image)
@endif
{{ Form::textarea('content['.$language->id.'][intro]', @$page->contents[$code]->intro, array('class' => Config::get('custom.form.input-class') . ' editor', 'id' => 'intro_' . $code)) }}
@endif @endif
{{ \lang::get('cms.podstrona_ma_ustawione_przekierowanie') }}
{{ Form::textarea('content['.$language->id.'][content]', @$page->contents[$code]->content, array('class' => Config::get('custom.form.input-class') . ' editor', 'id' => 'content_' . $code)) }}
@if(\Config::get('custom.image_in_page_content', false))
@if(@$page->contents[$code]->page_image)
@endif
@endif
@endforeach

 

@if(isset($page->publish_date)) @define $publish_date = $page->publish_date @else @define $publish_date = date('Y-m-d H:i:s') @endif {{ Form::text('page[publish_date]', $publish_date, array('class' => Config::get('custom.form.input-class') . ' datepicker', 'id' => 'publish_date')) }}
@if(isset($page->not_publish_before)) @define $not_publish_before = $page->publish_date @else @define $not_publish_before = date('Y-m-d H:i:s') @endif {{ Form::text('page[not_publish_before]', $not_publish_before, array('class' => Config::get('custom.form.input-class') . ' datepicker', 'id' => 'not_publish_before')) }}
{{ Form::text('page[robots]', @$page->robots, array('class' => Config::get('custom.form.input-class'))) }}
@if(!\Config::get('custom.cms.podstrony.ukryj_kol_menu_dolne', false))
@if(!\Config::get('custom.cms.podstrony.ukryj_kol_menu_dolne', false)) @endif @if(!\Config::get('custom.cms.podstrony.ukryj_kol_menu_dolne', false)) @endif
{{ Lang::get('cms.menu_dolne') }}
bottom_menu) && $page->bottom_menu) checked="checked" @endif>
@endif
display_lead) && $page->display_lead) checked="checked" @endif>
display_lead) || (isset($page->leady_listing_show_thumb_img) && $page->leady_listing_show_thumb_img)) checked="checked" @endif>
display_lead) || (isset($page->leady_listing_show_thumb_detail_img) && $page->leady_listing_show_thumb_detail_img)) checked="checked" @endif>
display_lead) || (isset($page->leady_listing_show_date) && $page->leady_listing_show_date)) checked="checked" @endif>
@if(isset($page->leady_listing_limit) && $page->leady_listing_limit > 0) @define $leady_listing_limit = $page->leady_listing_limit @else @define $leady_listing_limit = '' @endif {{ Form::text('page[leady_listing_limit]', $leady_listing_limit, array('class' => Config::get('custom.form.input-class'), 'id' => 'leady_listing_limit')) }}
leady_listing_unlimit)checked='checked'@endif>
{{-- leady_listing_unlimit)checked='checked'@endif> --}}
@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language) @if ($code = strtolower($language->code)) @endif
{{ Form::text('content['.$language->id.'][url]', @$page->contents[$code]->url, array('class' => Config::get('custom.form.input-class'), 'id' => 'url_' . $code)) }} {{ Lang::get('cms.adres_url_info') }}
{{ Form::text('content['.$language->id.'][redirect]', @$page->contents[$code]->redirect, array('class' => Config::get('custom.form.input-class') . ' input-redirect', 'data-lang' => $code, 'id' => 'redirect_' . $code, )) }} {!! Lang::get('cms.przekierowanie_info') !!}
@if(\Config::get('custom.cms.podstrony.menu_rozwijane', true)) @endif @if(\Config::get('custom.one_page', false)) @endif @define $settings = \Setting::get() @define $main_page = @$settings->global->main_page @if(isset($page) && $page->id == $main_page) @else @endif @if(\Config::get('custom.cms.podstrony.menu_rozwijane', true)) @else @endif @if(\Config::get('custom.one_page', false)) @endif
{{ Lang::get('cms.aktywna') }} {{ Lang::get('cms.w_menu') }}{{ Lang::get('cms.klikalna') }}{{ Lang::get('cms.sekcja_onepage') }}
contents[$code]->active) && $page->contents[$code]->active) checked="checked" @endif>
contents[$code]->show_in_menu) && $page->contents[$code]->show_in_menu) checked="checked" @endif>
contents[$code]->clickable) && $page->contents[$code]->clickable) checked="checked" @endif>
contents[$code]->onepage_separate) && $page->contents[$code]->onepage_separate) checked="checked" @endif>
@endforeach

 

@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language) @if ($code = strtolower($language->code)) @endif
{{ Form::text('content['.$language->id.'][meta_title]', @$page->contents[$code]->meta_title, array('class' => Config::get('custom.form.input-class'), 'id' => 'meta_title_' . $code)) }}
{{ Form::textarea('content['.$language->id.'][meta_keywords]', @$page->contents[$code]->meta_keywords, array('class' => Config::get('custom.form.input-class') . " textarea", 'id' => 'meta_keywords_' . $code)) }}
{{ Form::textarea('content['.$language->id.'][meta_description]', @$page->contents[$code]->meta_description, array('class' => Config::get('custom.form.input-class') . " textarea", 'id' => 'meta_description_' . $code)) }}
@endforeach
{{ Form::hidden('default_lang_tabs', @$default_lang_tabs) }} {{ Form::hidden('id', @$page->id) }} @include('admin.partials.button') {{ Form::close() }} @stop