@extends('settings.layouts.app') @section('content')

Receive released dataset

BACK
@php // if ($dataset->editor->id == Auth::user()->id) { // $userIsDesiredEditor = true; // } else { // $userIsDesiredEditor = false; // $message = 'you are not the desired editor, but you can still accept the dataset'; // } $message = 'If you are not the desired editor, you can still accept the dataset!!'; @endphp {!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.receiveUpdate', $dataset->id], 'id' => 'acceptForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm']) !!}
General
{!! Form::label('editor_id', 'preferred editor:') !!} {!! $dataset->preferred_editor !!} {!! $message !!} {{-- --}}
{!! Form::label('owner', 'dataset owner:') !!} {!! $dataset->user->login !!} {{-- --}}
{!! Form::label('title', 'dataset title:') !!} @if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @endif

{!! Form::close() !!}
@stop @section('after-scripts') @stop