Odaberite tlocrt stana
{!! Form::file('image', ['id' => 'fileUpload']) !!}
{!! Form::label('object_id', 'Objekt *', ['class' => 'control-label']) !!}
{!! Form::select('object_id', $objects, null, ['class' => 'form-control']) !!}
@if ($errors->has('object_id'))
{{ $errors->first('object_id') }}
@endif
{!! Form::label('floor_id', 'Kat *', ['class' => 'control-label']) !!}
{!! Form::select('floor_id', $floors, null, ['class' => 'form-control']) !!}
@if ($errors->has('floor_id'))
{{ $errors->first('floor_id') }}
@endif
@foreach($locales as $locale)
@endforeach
@foreach($locales as $locale)
{!! Form::label($locale.'[title]', 'Naslov *', ['class' => 'control-label']) !!}
{!! Form::text($locale.'[title]', $property->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]', $property->translateOrNew($locale)->content, ['class' => 'form-control tinymce']) !!}
@if($errors->has($locale.'.content'))
{{ $errors->first($locale.'.content') }}
@endif
@endforeach
{!! Form::label('status_id', 'Status *', ['class' => 'control-label']) !!}
{!! Form::select('status_id', $statuses, null, ['class' => 'form-control']) !!}
@if ($errors->has('status_id'))
{{ $errors->first('status_id') }}
@endif
{!! Form::submit('Spremi', ['class' => 'btn btn-primary']) !!}
{!! link_to_route('admin.property.index', 'Natrag', null, ['class' => 'btn btn-default']) !!}
@section('styles')
@endsection
@section('scripts')
@endsection