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

Edit Doctor

{!! Form::open([ 'url' => action('App\Http\Controllers\DoctorController@update', $doctor->id), 'method' => 'PUT', 'files' => true, 'id' => 'company_add_form', 'enctype' => 'multipart/form-data', ]) !!} {!! Form::hidden('empid', Auth::user()->email) !!} {!! Form::hidden('doctor_id', $doctor->id) !!}
{!! Form::text('doctorname', $doctor->doctorname, [ 'class' => 'form-control', 'maxlength' => '100', 'placeholder' => 'Enter Doctor Name', 'disabled', ]) !!}
{!! Form::text('degree', $doctor->degree, [ 'class' => 'form-control', 'maxlength' => '100', 'placeholder' => 'Enter Doctor Degree', 'Required', ]) !!}
{!! Form::text('city', $doctor->city, [ 'class' => 'form-control', 'maxlength' => '100', 'placeholder' => 'Enter Doctor city', 'Required', ]) !!}
{!! Form::text('hospital', $doctor->hospital, [ 'class' => 'form-control', 'maxlength' => '100', 'placeholder' => 'Enter Doctor Hospital', 'Required', ]) !!}
@if ($doctor->photo) @endif
{!! Form::close() !!}
@endsection @section('footer') @endsection