@extends('settings.layouts.app') @section('title', 'Publish') @section('content')

Publish New Dataset

{{--
--}}
{{ csrf_field() }}

Step One: Mandatory Elements

General

Bitte wählen Sie einen Datensatztyp aus der Liste aus.

{{--
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-1']) !!}
--}}
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-1']) !!}
Title(s)
{!! Form::label('TitleMain', 'Main Title ') !!} {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.title_main.value', "v-validate" => "'required|min:3'", "data-vv-as" => "Main Title", 'data-vv-scope' => 'step-1']) !!}
{!! Form::label('TitleLanguage', 'Title Language..') !!}
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language', "v-validate" => "'required'", "data-vv-as" => "Title Language", 'data-vv-scope' => 'step-1']) !!}
Title Type Language
{!! Form::select('Title[Type]', $titleTypes, null, ['placeholder' => '[titleType]', 'v-model' => 'item.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-1']) !!} {!! Form::select('Title[Relation]', $languages, null, ['placeholder' => '[language]', 'v-model' => 'item.language', 'data-vv-scope' => 'step-1']) !!}
Creator(s)
{{-- --}}

{{-- Checked Authors: @{{ dataset.checkedAuthors }} --}}
Publisher
{!! Form::label('CreatingCorporation', 'Creating Corporation') !!} {!! Form::text('CreatingCorporation', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.creating_corporation', "v-validate" => "'required'", 'data-vv-scope' => 'step-1']) !!}
Einräumung eines einfachen Nutzungsrechts
@{{ errors.first('step-1.rights') }} You must agree to continue

Please correct the following error(s):
  • @{{ error.msg }}

Step Two: Recommended Elements

General
{!! Form::label('Type', 'Type..') !!}
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-2']) !!}
{!! Form::label('State', 'State..') !!} {{-- {{ Form::text('State', null, ['class' => 'pure-u-23-24', 'placeholder' => trans('validation.attributes.backend.pages.title'), 'v-model' => 'dataset.state', "v-validate" => "'required'", 'data-vv-scope' => 'step-2', 'readonly' => 'true']) }} --}}
{!! Form::select( 'State', ['unpublished' => 'unpublished', 'inprogress' => 'inprogress'], null, ['id' => 'state', 'placeholder' => '-- select server state --', 'v-model' => 'dataset.state', "v-validate" => "'required'", 'data-vv-scope' => 'step-2'] ) !!}
{{--
{!! Form::select( 'State', array_except(Config::get('enums.server_states'),['published', 'deleted', 'temporary']), '', ['placeholder' => '-- select server state --', 'v-model' => 'dataset.state', "v-validate" => "'required'", 'data-vv-scope' => 'step-2'] ) !!}
--}}
{!! Form::label('project_id', 'Project..') !!}
{!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--', 'v-model' => 'dataset.project_id', 'data-vv-scope' => 'step-2']) !!}
project is optional
{!! Form::label('EmbargoDate', 'Embargo Date') !!} {!! Form::date('EmbargoDate', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24', 'v-model' => 'dataset.embargo_date', 'data-vv-scope' => 'step-2']) !!} EmbargoDate is optional
{{--
--}}
Bounding Box
{!! Form::label('xmin', 'xmin: ') !!} {!! Form::text('xmin', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.geolocation.xmin', 'readonly']) !!}
{!! Form::label('ymin', 'ymin: ') !!} {!! Form::text('ymin', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.geolocation.ymin', 'readonly']) !!}
{!! Form::label('xmax', 'xmax: ') !!} {!! Form::text('xmax', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.geolocation.xmax', 'readonly']) !!}
{!! Form::label('ymax', 'ymax: ') !!} {!! Form::text('ymax', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.geolocation.ymax', 'readonly']) !!}
Main Title & Abstract
{!! Form::label('TitleMain', 'Main Title ') !!} {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.title_main.value', "v-validate" => "'required|min:3'", "data-vv-as" => "Main Title", 'data-vv-scope' => 'step-2']) !!}
{!! Form::label('TitleLanguage', 'Title Language..') !!}
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language', "v-validate" => "'required'", "data-vv-as" => "Title Language", 'data-vv-scope' => 'step-2']) !!}
{!! Form::label('TitleAbstract', 'Main Abstract ') !!} {{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6', 'v-model' => 'dataset.abstract_main.value', "v-validate" => "'required|min:3'", "data-vv-as" => "Main Abstract", 'data-vv-scope' => 'step-2']) }}
{!! Form::label('AbstractLanguage', 'Abstract Language..') !!}
{!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.abstract_main.language', "v-validate" => "'required'", "data-vv-as" => "Abstract Language", 'data-vv-scope' => 'step-2']) !!}
Licenses
@foreach ($licenses as $indexKey => $license) @endforeach
Checked license: @{{ dataset.checkedLicenses }}
Dataset references
Value of the identifier Type Relation Display text of the identifier
{!! Form::select('Reference[Type]', $relatedIdentifierTypes, null, ['placeholder' => '[relatedIdentifierType]', 'v-model' => 'item.type', "v-validate" => "'required'", 'data-vv-scope' => 'step-2']) !!} {!! Form::select('Reference[Relation]', $relationTypes, null, ['placeholder' => '[relationType]', 'v-model' => 'item.relation', 'data-vv-scope' => 'step-2']) !!}

Please correct the following error(s):
  • @{{ error.msg }}

Select contributors, submitters

Contributors
{{-- --}}

Checked Contributors: @{{ dataset.checkedContributors }}
Submitters

Checked Submitters: @{{ dataset.checkedSubmitters }}

File Upload

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

Uploading @{{ fileCount }} files...

{{-- --}} {{--
  • @{{ item.name }} Remove
--}}
Sorting File Label
@{{ index +1 }}

Uploaded @{{ dataset.files.length }} file(s) successfully.

Upload new Dataset

@{{ redirectLink }}

    {{--
  • --}}

Uploaded failed.

Retry: Edit inputs

Start again

Please correct the following server error(s):
  • @{{ error }}
{{--

Debug:@{{ dataset }} --}}
@stop @section('styles') @stop @section('after-scripts') {{-- --}} {{-- --}} {{-- --}} @stop