@if(count($pirep->fields)) @endif @foreach($pirep->fields as $field) @endforeach
Value Source
{{ $field->name }} @if($field->required === true) * @endif
@if(!$field->read_only) {{ Form::text($field->slug, $field->value, [ 'class' => 'form-control' ]) }} @else

{{ $field->value }}

@endif

{{ $errors->first($field->slug) }}

{{ PirepSource::label($field->source) }}