{!! Form::label('culture', 'Culture') !!} {!! Form::text('culture', old('culture'), ['class' => 'form-control', 'readonly']) !!} @if ($errors->has('culture')) {{ $errors->first('culture') }} @endif
{!! Form::label('is_checker', 'Type') !!} {!! Form::text('is_checker', $record->is_checker ? 'Checker' : 'Normal' , ['class' => 'form-control', 'readonly']) !!} @if ($errors->has('is_checker')) {{ $errors->first('is_checker') }} @endif
{!! Form::label('text', 'Question') !!} {!! Form::text('text', old('text'), ['class' => 'form-control']) !!} @if ($errors->has('text')) {{ $errors->first('text') }} @endif
{!! Form::label('image', 'Image') !!} {!! Form::file('image', ['onchange' => 'loadFile(event, "pro_image")', "accept" => "image/png, image/jpeg"]) !!} @if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if(isset($record))
{!! Html::image($record->image_auto, null, ['class' => 'img-responsive pad', 'id' => 'pro_image', 'style' => 'max-width: 300px;max-height: 200px']) !!}
@endif
{!! Form::submit('Save', ['class' => 'btn btn-primary btn-flat']) !!} Cancel
@section('inlineJS') @endsection