@extends('layouts.app') @section('pageStyle') @endsection @section('content')

Add Intersection Type

{{ all_errors($errors) }} @include('layouts.flash') {{ Form::open(['url' => 'attribute/store-intersection', 'class' => 'form-horizontal intersection_wrapper']) }}
{{ Form::label('name', 'Intersection Name', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::text('name','',['required', 'class' => 'form-control']) }}
{{ Form::label('description', 'Description', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::textarea('description','',['rows' => 5, 'class' => 'form-control']) }}
{{ Form::label('hcm_ids', 'Choose HCM', ['class' => 'col-lg-3 control-label text-left']) }}
{{ Form::select('hcm_ids[]', $hcms, null, ['data-placeholder' => 'Select HCM', 'class' => 'chosen-select', 'multiple' => true, 'required'=> true, 'tabindex' => '4', 'style' => 'width: 100%']) }}
{{ Form::submit('Add Intersection', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}

All Intersection Type

@forelse($intersections as $intersection) @empty @endforelse
# Intersection Type HCM Action
{{ $intersection->id }} {{ $intersection->name }} @foreach($intersection->hcms as $hcm) {{ $hcm->name }} @endforeach Edit Delete
No data is available.
@endsection @section('pageScript')