{{-- CityHub - Communal service - Templates (admin) --}}

{{ $title }}


@if (count($templates) > 0) @foreach ($templates as $cityData)

{{ $cityData['city']->name }}

@if (count($cityData['templates']) > 0) @foreach($cityData['templates'] as $template) @endforeach
{{ Lang::get('communalService.header_template_name') }} {{ Lang::get('communalService.header_template_content') }} {{ Lang::get('communalService.header_action') }}
{{ $template->name }} {{ $template->content }}
@else

{{ Lang::get('communalService.text_no_templates', array('name' => $cityData['city']->name)) }}

@endif
@endforeach @else

{{ Lang::get('messages.no_cities_assigned') }}

@endif