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

Reject submitted dataset

@if (count($errors) > 0)
Whoops! There were some problems with your input.

@endif
BACK
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.editor.rejectUpdate', $dataset->id], 'id' => 'rejectForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm']) !!}
General
{!! Form::label('server_state', 'Status..') !!} {!! Form::text('server_state', 'rejected_editor', ['class'=>'pure-u-23-24','readonly']) !!}
{!! Form::label('reject_editor_note', 'reject note:') !!} {!! Form::textarea('reject_editor_note',null, ['id' => 'reject_editor_note', 'class'=>'pure-u-23-24', 'placeholder' => '-- reject note for submitter --', 'size' => '70x6', 'v-model' => 'dataset.reject_editor_note', "v-validate" => "'required|min:10|max:255'"]) !!} *
@if ($dataset->reject_reviewer_note != null)
{!! Form::label('reject_reviewer_note', 'Reviewer reject note..') !!} {!! Form::text('reject_reviewer_note', null, ['class'=>'pure-u-23-24','readonly']) !!}
@else
There is no reject note from the reviewer
@endif

{{-- ..to do: write code for setting state 'rejected_reviewer' in database --}}
{!! Form::close() !!}
@stop @section('after-scripts') @stop