@extends('back/layouts.app') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ $fields->member->name.' | '.__('core.edit') }}

@if(session()->has('success'))
{{ session()->get('success') }}
@endif @include('back.includes.breadcrumb',['routes' => [ ['slug' => route('dashboard.courses.index',$site->alias),'name' => $site->name], ['slug' => route('dashboard.test_results.index',['site' => $site->alias,'course' => $course_id]),'name' => $course->name.' | '.__('meta.title.test_results')], ['name' => $fields->member->name.' | '.__('core.edit')]] ])
{!! Form::model($fields,['method' => 'PUT','route' => ['dashboard.test_results.update',$site->alias,$fields->course_id,$fields->id],'class'=>'form-horizontal form-label-left']) !!}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone',$fields->member->phone) }} @endif
@if ($errors->has('degree')) {{ $errors->first('degree') }} @endif
@if ($errors->has('locale')) {{ $errors->first('locale') }} @endif
{{-- --}}
@stop