@extends('layouts.cms') @section('content') @define $_fields = \Fields::getFieldsWithLabelOnlyActive('contact-form') @foreach($_fields as $field) @endforeach @forelse ($messages as $message) {{ $message->prepareVal() }} @foreach($_fields as $field_name => $field) @endforeach @empty @endforelse
ID{{ $field['label'] }}{{ Lang::get('cms.data_zgloszenia') }} {{ Lang::get('cms.usun') }}
{{ $message->id }} @if(is_array($message->val[$field_name])) {{ implode(', ', $message->val[$field_name]) }} @else @if($field['field_type'] == 'textarea') {!! nl2br($message->val[$field_name]) !!} @else {{ $message->val[$field_name] }} @endif @endif {{ $message->created_at }}
{{ Lang::get('cms.nic_tu_nie_ma') }}
{!! $messages->render() !!} @stop