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

Publish New Dataset

{{ csrf_field() }}

Step One

Datensatztyp

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']) !!}
Einräumung eines einfachen Nutzungsrechts
Ich habe diese rechtlichen Hinweise gelesen und bin damit einverstanden. * {{-- --}}

{{-- --}}

Step Two

General
{{--
{!! Form::label('Person', 'Person..') !!}
{!! Form::select('Person', $persons, null, ['id' => 'type', 'placeholder' => '-- select person --']) !!}
--}}
{!! Form::label('Type', 'Type..') !!}
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --', 'v-model' => 'dataset.type']) !!}
{!! Form::label('State', 'State..') !!}
{!! Form::select( 'State', array_except(Config::get('enums.server_states'),['published', 'deleted', 'temporary']), '', ['placeholder' => '-- select server state --', 'v-model' => 'dataset.state'] ) !!}
{!! Form::label('CreatingCorporation', 'Creating Corporation') !!} {!! Form::text('CreatingCorporation', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.creating_corporation']) !!}
{!! Form::label('project_id', 'Project..') !!}
{!! Form::select('project_id', $projects, null, ['id' => 'project_id', 'placeholder' => '--no project--', 'v-model' => 'dataset.project_id']) !!}
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']) !!} EmbargoDate is optional
Main Title & Abstract
{!! Form::label('TitleMain', 'Main Title ') !!} {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24', 'v-model' => 'dataset.title_main.value']) !!}
{!! Form::label('TitleLanguage', 'Title Language..') !!}
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.title_main.language']) !!}
{!! Form::label('TitleAbstract', 'Main Abstract ') !!} {{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6', 'v-model' => 'dataset.abstract_main.value']) }}
{!! Form::label('AbstractLanguage', 'Abstract Language..') !!}
{!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--', 'v-model' => 'dataset.abstract_main.language']) !!}
Licenses
@foreach ($licenses as $license) @endforeach
Checked licenses: @{{ dataset.checkedLicenses }}

Select authors, contributors

General
{{-- --}}
{{-- @{{ person.full_name }} --}}

File Upload

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

Uploading @{{ fileCount }} files...

{{-- --}} {{--
  • @{{ item.name }} Remove
--}}
Sorting File Label
@{{ index +1 }}
Please correct the following error(s):
  • @{{ error }}
{{--

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