@foreach($locales as $locale)
{!! Form::label($locale.'[url]', 'URL *', ['class' => 'control-label']) !!}
{!! Form::text($locale.'[url]', $page->translateOrNew($locale)->url, ['class' => 'form-control']) !!}
@if($errors->has($locale.'.url'))
{{ $errors->first($locale.'.url') }}
@endif
{!! Form::label($locale.'[meta_title]', 'Meta naslov *', ['class' => 'control-label']) !!}
{!! Form::text($locale.'[meta_title]', $page->translateOrNew($locale)->meta_title, ['class' => 'form-control']) !!}
@if($errors->has($locale.'.meta_title'))
{{ $errors->first($locale.'.meta_title') }}
@endif
{!! Form::label($locale.'[title]', 'Naslov *', ['class' => 'control-label']) !!}
{!! Form::text($locale.'[title]', $page->translateOrNew($locale)->title, ['class' => 'form-control']) !!}
@if($errors->has($locale.'.title'))
{{ $errors->first($locale.'.title') }}
@endif
{!! Form::label($locale.'[content]', 'Sadržaj *', ['class' => 'control-label']) !!}
{!! Form::textarea($locale.'[content]', $page->translateOrNew($locale)->content, ['class' => 'form-control tinymce']) !!}
@if($errors->has($locale.'.content'))
{{ $errors->first($locale.'.content') }}
@endif
@endforeach