@extends('admin.app') @section('page_title','Edit Subject') @section('page_location') @endsection @section('main-content')

Edit Subject

{{ Form::model($subject,['route' => ['subject.update' , $subject->id ],'method' => 'PUT'] ) }}
{!! Form::label('Name') !!} {!! Form::text('name', null, array('required', 'class'=>'form-control', 'placeholder'=>'Name')) !!}
{!! Form::label('Slug') !!} {!! Form::text('slug', null, array('required', 'class'=>'form-control', 'placeholder'=>'Slug')) !!}
{!! Html::linkRoute('subject.show','Cancel',array($subject->id),array('class' => 'btn btn-primary' )) !!} {!! Form::submit('Save Changes', array('class'=>'btn btn-primary')) !!}
{!! Form::close() !!}
@endsection