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

Publish New Dataset - Step 2

{{--
--}} {!! Form::model($dataset, ['method' => 'post', 'files' => true , 'route' => ['dataset.store2'], 'class' => 'pure-form']) !!}
General
{!! Form::label('Type', 'Type..') !!}
{!! Form::select('Type', Lang::get('doctypes'), null, ['id' => 'type', 'placeholder' => '-- select type --']) !!}
{!! Form::label('CreatingCorporation', 'Creating Corporation') !!} {!! Form::text('CreatingCorporation', null, ['class' => 'pure-u-23-24']) !!}
{!! Form::label('EmbargoDate', 'Embargo Date') !!} {!! Form::date('EmbargoDate', null, ['placeholder' => date('y-m-d'), 'class' => 'pure-u-23-24']) !!} EmbargoDate is optional
Main Title & Abstract
{!! Form::label('TitleMain', 'Main Title ') !!} {!! Form::text('TitleMain[Value]', null, ['class' => 'pure-u-23-24']) !!}
{!! Form::label('language', 'Title Language..') !!}
{!! Form::select('TitleMain[Language]', $languages, null, ['placeholder' => '--no language--']) !!}
{!! Form::label('TitleAbstract', 'Main Abstract ') !!} {{ Form::textarea('TitleAbstract[Value]', null, ['class' => 'pure-u-23-24', 'size' => '70x6']) }}
{!! Form::label('language', 'Abstract Language..') !!}
{!! Form::select('TitleAbstract[Language]', $languages, null, ['placeholder' => '--no language--']) !!}
Files
{!! Form::label('dataset_file', 'Dataset File') !!} Please upload a valid image file. Size of image should not be more than 2MB.

@include('errors._errors') {!! Form::close() !!} @if(isset($dataset['DatasetFile']))
{{ csrf_field() }}
@endif
@stop