State & notes
@if($dataset->reject_editor_note)
{!! Form::label('reject_editor_note', 'editor reject note..') !!} {{-- {!! Form::select('server_state', Config::get('enums.server_states'), null, ['id' => 'server_state', 'placeholder' => '-- select server state --']) !!} --}} {!! Form::textarea('reject_editor_note', null, ['class'=>'pure-u-23-24','readonly', 'v-model' => 'form.reject_editor_note']) !!}
@endif
{!! Form::label('server_state', 'Status..') !!} {{-- {!! Form::select('server_state', Config::get('enums.server_states'), null, ['id' => 'server_state', 'placeholder' => '-- select server state --']) !!} --}} {!! Form::text('server_state', null, ['class'=>'pure-u-23-24','readonly', 'v-model' => 'form.server_state']) !!}
General
{!! Form::label('Language', 'Language..') !!}
{!! Form::select('language', $languages, null, ['placeholder' => '[language]', 'v-model' => 'form.language', "data-vv-as" => "Language", "v-validate" => "'required'"]) !!}
select dataset main language
{!! Form::label('type', 'Type..') !!}
{!! Form::select('type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'form.type', "v-validate" => "'required'"]) !!}
{!! Form::label('project_id', 'Project..') !!}
{{-- {!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--', 'v-model' => 'form.project_id']) !!} --}}
project is optional
{!! Form::label('creating_corporation', 'Creating Corporation') !!} {!! Form::text('creating_corporation', null, ['readonly', 'class' => 'pure-u-23-24', 'v-model' => 'form.creating_corporation', "v-validate" => "'required'"]) !!} creating corporation is required.
Creator(s)
{{-- {!! Form::label('additionalCreators', 'Add additional creator(s) if creator is not in database') !!} --}}
Title
{{-- @foreach($dataset->titles as $key => $title)
{{ Form::label('title', 'Title ' .($key+1).':') }} {{ Form::text('titles['.$title->id.'][value]', $title->value, ['class' => 'pure-u-23-24']) }}
{{ Form::label('language', 'Language..') }} {{ Form::text('titles['.$title->id.'][language]', $title->language, ['placeholder' => '--no language--', 'class' => 'pure-u-23-24', 'readonly']) }}
@endforeach --}}
Title Type Language
Abstract
{{-- @foreach($dataset->abstracts as $key => $abstract)
{{ Form::label('abstract', 'Abstract ' .($key+1).':') }} {{ Form::textarea('abstracts['.$abstract->id.'][value]', $abstract->value, ['class' => 'pure-u-23-24', 'size' => '70x6']) }}
{{ Form::label('language', 'Language..') }} {{ Form::text('abstracts['.$abstract->id.'][language]', $abstract->language, ['placeholder' => '--no language--', 'class' => 'pure-u-23-24', 'readonly']) }}
@endforeach --}}
Value Type Language
Date(s)
{!! Form::label('embargo_date', 'Embargo Date') !!} {!! Form::date('embargo_date', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24', 'v-model' => 'form.embargo_date']) !!} EmbargoDate is optional
Geo Location
Coverage
{!! Form::label('elevation_absolut', 'elevation absolut: ') !!} {{-- {!! Form::text('elevation_absolut', null, ['class' => 'pure-u-23-24', 'v-model' => 'form.coverage.elevation_absolut', "v-validate" => "this.isElevationAbsolut ? 'required|integer' : '' " ]) !!} --}}
{!! Form::label('elevation_min', 'elevation min: ') !!} {{-- {!! Form::text('elevation_min', null, ['class' => 'pure-u-23-24', 'v-model' => 'form.coverage.elevation_min', "v-validate" => "this.isElevationRange ? 'required|integer' : '' "]) !!} --}}
{!! Form::label('elevation_max', 'elevation max: ') !!} {{-- {!! Form::text('elevation_max', null, ['class' => 'pure-u-23-24', 'v-model' => 'form.coverage.elevation_max', "v-validate" => "this.isElevationRange ? 'required|integer' : '' "]) !!} --}}
{!! Form::label('depth_absolut', 'depth absolut: ') !!}
{!! Form::label('depth_min', 'depth min: ') !!}
{!! Form::label('depth_max', 'depth max: ') !!}
{!! Form::label('time_absolut', 'time absolut: ') !!} {{-- {!! Form::datetime('time_absolut', null, ['class' => 'pure-u-23-24', 'placeholder' => 'dd.MM.yyyy HH:mm', 'v-model' => 'dataset.coverage.time_absolut', 'data-vv-scope' => 'step-2', 'format' => 'yyyy-MM-dd HH:mm', "v-validate" => "this.isTimeAbsolut ? 'required|date_format:dd.MM.yyyy HH:mm:ss' : '' " ]) !!} --}} {{-- --}}
{!! Form::label('time_min', 'time min: ') !!} {{-- {!! Form::datetimelocal('time_min', null, ['class' => 'pure-u-23-24', 'placeholder' => 'dd.MM.yyyy HH:mm:ss', 'v-model' => 'dataset.coverage.time_min', 'data-vv-scope' => 'step-2', 'step' => 1, "v-validate" => "this.isTimeRange ? 'required|date_format:dd.MM.yyyy HH:mm:ss' : '' "]) !!} --}}
{!! Form::label('timemax', 'time max: ') !!} {{-- {!! Form::datetimelocal('time_max', null, ['class' => 'pure-u-23-24', 'placeholder' => 'dd.MM.yyyy HH:mm:ss', 'v-model' => 'dataset.coverage.time_max', 'data-vv-scope' => 'step-2', 'step' => 1, "v-validate" => "this.isTimeRange ? 'required|date_format:dd.MM.yyyy HH:mm:ss' : '' "]) !!} --}}
Licenses
{{-- @foreach ($licenses as $license) @endforeach --}}
{{-- Checked license: @{{ dataset.checkedLicenses }} --}} {{-- old checkeds: @{{ checkeds }} --}}
Dataset References {{-- --}} {{-- @if ($dataset->references->count() > 0) --}}
{{-- @foreach($dataset->references as $key => $reference) --}} {{-- @endforeach --}}
Reference value Label Type Relation
{{-- {{ Form::text('references['.$reference->id.'][label]', $reference->label, ['class' => 'form-control', 'placeholder' => '[REFERENCE LABEL]']) }} --}} {{-- {!! Form::select('references['.$reference->id.'][type]', $referenceTypes, $reference->type, ['placeholder' => '[REFERENCE TYPE]', 'v-model' => 'item.type', "v-validate" => "'required'"]) !!} --}} {{-- Selected: @{{ item.type }} --}} {{-- {!! Form::select('references['.$reference->id.'][relation]', $relationTypes, $reference->relation, ['placeholder' => '[REFERENCE TYPE]', 'v-model' => 'item.relation', "v-validate" => "'required'"]) !!} --}}
{{-- @else ...there are no references @endif --}}
Dataset Keywords @if ($dataset->subjects->count() > 0)
Keyword Type Language
{{-- {{ Form::text('keywords['.$keyword->id.'][value]', $keyword->value, ['class' => 'form-control', 'placeholder' => '[KEYWORD VALUE]']) }} --}} {{-- {!! Form::select('keywords['.$keyword->id.'][type]', $keywordTypes, $keyword->type, ['placeholder' => '[keyword type]', 'v-model' => 'item.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-2']) !!} --}} {{-- --}}
@else ...there are no keywords @endif
Files {{--

File Upload

--}} {{--
--}}
{{--

Drag your file(s) here to begin
or click to browse

--}}
{{-- --}} {{-- --}}
# Path Name ID LabelNew
@{{ index +1 }} {{-- @if($file->exists() === true) {{ $file->path_name }} @else missing file: {{ $file->path_name }} @endif --}} @{{ file.path_name }} File name will be generated