@extends('adminlte::layouts.app')

@section('htmlheader_title')
	Class
@endsection

@section('main-content')
	<div class="container-fluid spark-screen">
		<div class="row center">
            <div class="col-md-2">
                
            </div>
			<div class="col-md-8">
				<h2 class="page-header">Edit Class</h2>
				<div class="register-box-body">
                <!-- <p class="login-box-msg">{{ trans('adminlte_lang::message.registermember') }}</p> -->
                <form action="{{ url('/class/update', $class->id) }}" method="post">
                    <input type="hidden" name="_token" value="{{ csrf_token() }}">
                    
                    <div class="form-group has-feedback">
                        <input type="text" class="form-control" name="name" value="{{ $class->id }}" readonly />
                        <span class="fa fa-group form-control-feedback"></span>
                    </div>

                    <div class="form-group has-feedback">
                        <input type="text" class="form-control" name="name" value="{{ $class->name }}"/>
                        <span class="fa fa-group form-control-feedback"></span>
                    </div>
                    
                    <div class="row">
                        <div class="col-xs-1">
                           
                        </div><!-- /.col -->
                        <div class="col-xs-6">
                        
                        </div><!-- /.col -->
                        <div class="col-xs-4 col-xs-push-1">
                            <button type="submit" class="btn btn-primary btn-block btn-flat">Update</button>
                        </div><!-- /.col -->
                    </div>
                </form>
            </div>
			</div>
		</div>
	</div>
@endsection
