@extends('layouts.AdminMaster') @section('content') {!! Form::open(array('url' => ['admin/staffs/update/'.$staff->staff_id], 'method' => 'put')) !!}
{!! Form::label('first_name', 'First Name', array('class' => 'lable')) !!} {!! Form::text('first_name', $value = $staff->first_name, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('last_name', 'Last Name', array('class' => 'lable')) !!} {!! Form::text('last_name', $value = $staff->last_name, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('email', 'email', array('class' => 'lable')) !!} {!! Form::email('email', $value = $staff->email, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('phone', 'phone', array('class' => 'lable')) !!} {!! Form::text('phone', $value = $staff->phone, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('address', 'Address', array('class' => 'lable')) !!} {!! Form::textarea('address', $value = $staff->address, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('dob', 'dob', array('class' => 'lable')) !!} {!! Form::text('dob', $value = $staff->dob, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('gender', 'Gender', array('class' => 'lable')) !!} {!! Form::text('gender', $value = $staff->gender, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('nic', 'NIC', array('class' => 'lable')) !!} {!! Form::text('nic', $value = $staff->nic, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('emergency_contact', 'Emergency Contact', array('class' => 'lable')) !!} {!! Form::text('emergency_contact', $value = $staff->emergency_contact, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('designation', 'Designation', array('class' => 'lable')) !!} {!! Form::text('designation', $value = $staff->designation, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('date_joined', 'Date Joined', array('class' => 'lable')) !!} {!! Form::text('date_joined', $value = $staff->date_joined, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('type', 'User type', array('class' => 'lable')) !!} {!! Form::text('type', $value = $staff->type, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('status', 'Status', array('class' => 'lable')) !!} {!! Form::text('status', $value = $staff->status, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::label('user_id', 'user_id', array('class' => 'lable')) !!} {!! Form::text('user_id', $value = $staff->user_id, $attributes = array('class'=>'form-control', 'required')) !!}
{!! Form::submit('Update', array('class'=>'btn btn-success')) !!}
{!! Form::close() !!} @endsection