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

Reject approved dataset

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

@endif
BACK
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.review.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_reviewer', ['class'=>'pure-u-23-24','readonly']) !!}
{!! Form::label('reject_reviewer_note', 'reject note:') !!} {!! Form::textarea('reject_reviewer_note',null, ['id' => 'reject_reviewer_note', 'class'=>'pure-u-23-24', 'placeholder' => '-- reject note for editor --', 'size' => '70x6', 'v-model' => 'dataset.reject_reviewer_note', "v-validate" => "'required|min:10|max:500'"]) !!} *

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