@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} |Collage >> Index @endsection @section('content')

@lang('app.intro-text')

{!! Form::open([ 'route' => 'faculties.store', 'class' => 'create-faculty', 'method' => 'POST', 'role' => 'form', ]) !!}
{!! Form::label('college_id', 'Select College') !!} {!! Form::select( 'college_id', $colleges, null, $errors->has('college_id') ? ['class' => 'form-control is-invalid', 'id' => 'college_id'] : ['class' => 'form-control', 'id' => 'college_id'], ) !!}
{!! Form::label('faculty_name', 'Faculty Name*') !!} {!! Form::text( 'faculty_name', old('faculty_name'), $errors->has('faculty_name') ? ['placeholder' => 'Faculty Name', 'class' => 'form-control is-invalid'] : ['placeholder' => 'Faculty Name', 'class' => 'form-control'], ) !!} @if ($errors->has('faculty_name')) {{ $errors->first('faculty_name') }} @endif
{!! Form::label('faculty_acronym', 'Faculty Acronym*') !!} {!! Form::text( 'faculty_acronym', old('faculty_acronym'), $errors->has('faculty_acronym') ? ['placeholder' => 'Faculty Acronym', 'class' => 'form-control is-invalid'] : ['placeholder' => 'Faculty Acronym', 'class' => 'form-control'], ) !!} @if ($errors->has('faculty_acronym')) {{ $errors->first('faculty_acronym') }} @endif
{{ Form::button('Submit', ['type' => 'submit', 'class' => 'btn btn-lg btn-success pull-right']) }}
{{ Form::close() }}
@endsection @section('scripts') @endsection