@extends('layouts.app') @section('content')
{{ Session::get('flash_message') }}
Common Issues | Causes | Remedy | {!! Form::submit('Link', ['class' => 'btn green']) !!} |
---|---|---|---|
|
|
|
|
@foreach($commons as $common)
@if($selected_common == $common->id)
@else @endif @endforeach |
@foreach($causes as $key => $cause)
@if(!empty($selected_causes))
@if(in_array($cause->id, $selected_causes->toArray()))
@else @endif @else @endif @endforeach |
@foreach($remedy as $key => $rem)
@if(!empty($selected_remedy))
@if(in_array($rem->id, $selected_remedy->toArray()))
@else @endif @else @endif @endforeach |