@extends('layouts.cms') @section('content')
{{ Lang::get('cms.dodaj_element') }}
@define $languages = \Language::getActiveLanguages() @define $show_language_tabs = count($languages) > 1 ? true : false @if($show_language_tabs)
Pokaż tylko z wersji: @define $current_show_lang = \Request::get('lang', false); @foreach($languages as $l) code == $current_show_lang)class='active' @endif>{{ $l->code }} @endforeach wszystkie
@endif @forelse ($contents as $content) @empty @endforelse
ID {{ Lang::get('cms.nazwa') }} {{ Lang::get('cms.aktywny') }} {{ Lang::get('cms.opcje') }}
{{ $content->id }} {{ $content->name }}
active)checked='checked'@endif>
{{ Lang::get('cms.nic_tu_nie_ma') }}
@stop