@extends('layouts.app') @section('content')
@if (Session::has('error'))

Alert!

{{ Session::get('error') }}
@endif @if(count($errors)>0)

Error

@foreach($errors->all() as $error) {{$error}} @endforeach

@endif @if (Session::has('success'))

Alert!

{{ Session::get('success') }}
@endif
My profile
{{method_field('PUT')}}
{{ $item->type }}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@endsection