@extends('layouts.scaffold')
@section('title')
Edit Faculty|Golars Networks
@stop
@section('main')
{{ Form::model($faculty, array('method' => 'PATCH', 'route' => array('faculties.update', $faculty->id), 'id' => 'editFaculty')) }}
-
{{ Form::label('user_autoid', 'User ID:') }}
{{ Form::text('user_autoid', $details->user_autoid, array("readonly"=>"readonly")) }}
-
{{ Form::label('firstname', 'First Name: *') }}
{{ Form::text('firstname', $details->firstname) }}
-
{{ Form::label('lastname', 'Last Name: *') }}
{{ Form::text('lastname', $details->lastname) }}
-
{{ Form::label('user_email', 'Email: *') }}
{{ Form::text('user_email', $faculty->user_email) }}
-
{{ Form::label('alternate_email', 'Alternate Email: *') }}
{{ Form::text('alternate_email', $details->alternate_email) }}
-
{{ Form::label('password', 'Password:') }}
{{ Form::password('password') }}
-
{{ Form::label('cpassword', 'Confirm Password:') }}
{{ Form::password('cpassword') }}
-
{{ Form::label('address', 'Address:') }}
{{ Form::text('address', $details->address) }}
-
{{ Form::label('phone', 'Phone: *') }}
{{ Form::text('phone', $details->phone) }}
-
{{ Form::label('skype_id', 'Skype Id:') }}
{{ Form::text('skype_id', $details->skype_id) }}
-
{{ Form::label('emergency_contactnumber', 'Emergency Contact: *') }}
{{ Form::text('emergency_contactnumber', $details->emergency_contactnumber) }}
-
{{ Form::label('relationship', 'Emergency Relationship: *') }}
{{ Form::text('relationship', $details->relationship) }}
-
{{ Form::label('technology_id', 'Technologies: *') }}
{{ Form::select('technology_id[]', $technologies, $details->technology_id, array('class' => 'form-control',"multiple"=>"multiple")) }}
-
{{ Form::label('created_at', 'Attestation Date:') }}
{{ Form::text('created_at', date('F d,Y',strtotime($faculty->updated_at)),array("readonly"=>"readonly")) }}
-
{{ Form::label('user_status', 'User Status:') }}
{{ Form::select('user_status', array('selectstatus' => 'Select Status', 'active' => 'Active', 'inactive' => 'Inactive'),$faculty->user_status) }}
-
-
{{ Form::submit('Update', array('class' => 'btn btn-info')) }}
{{ link_to_route('faculties.index', 'Cancel', null, array('class' => 'btn btn-info')) }}
{{ Form::close() }}
@if ($scripts = 'js/faculties/edit_faculties.js') @endif
@stop