@extends('layouts.admin') @section('content')

reply Edit User

{!! Form::model($user, ['method' => 'PATCH', 'action' => ['PlanController@update', $plan->id], 'files' => true]) !!}
{!! Form::label('name', 'Enter Name') !!}

- Please enter your name

{!! Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::label('email', 'Email address') !!}

- Please enter your email

{!! Form::email('email', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'eg: foo@bar.com']) !!} {{ $errors->first('email') }}
{!! Form::label('password', 'Password') !!}

- Please enter your password

{!! Form::password('password', ['class' => 'form-control']) !!} {{ $errors->first('password') }}
{!! Form::label('confirm_password', 'Confirm Password') !!}

- Please enter your password again

{!! Form::password('confirm_password', ['class' => 'form-control']) !!} {{ $errors->first('confirm_password') }}
{!! Form::label('is_admin', 'Administrator') !!}
{{ $errors->first('is_admin') }}
{!! Form::close() !!}
@endsection @section('custom-script') @endsection