@extends('layouts.app') @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Students').' / '.trans('Student '.(school('country')->code == 'SG' ? 'Branch' : 'House')) .' / '. trans('Add').'']) @component('components.sectionbar.house-bar')@endcomponent
{!! Form::open(array('route' => 'academic.house.store', 'method' => 'POST', 'role' =>'form','enctype'=>'multipart/form-data', 'class' => 'needs-validation')) !!}
{!! Form::text('name', NULL, array('id' => 'name','required', 'class' => 'form-control', 'placeholder' => trans('name'))) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::textarea('description', NULL, array('rows' => '5','id' => 'description', 'required', 'class' => 'form-control', 'placeholder' => trans('Description'))) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::select('status',status(), old('status'), array('id' => 'status', 'class' => 'form-control', 'placeholder' => trans('Choose'))) !!} @if ($errors->has('status')) {{ $errors->first('status') }} @endif
{!! Form::close() !!}
@endsection