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

Review approved 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.review.reviewUpdate', $dataset->id], 'id' => 'reviewForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm']) !!}
Values
{{--
{!! Form::label('title', 'dataset title:') !!} @if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @endif
{!! Form::label('editor', 'editor:') !!} {!! $dataset->editor->login !!}
{!! Form::label('owner', 'dataset owner:') !!} {!! $dataset->user->login !!}
--}} @foreach($fields as $field => $fieldValue)
{{ Form::label($field, $field . ": ") }} {!! $fieldValue !!}
@endforeach

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