@extends('layouts.main')

@section('content')

<section class="content-header">
    <h1>Iteams Management</h1>
    <ol class="breadcrumb">
        <li><a href="/home"><i class="fa fa-dashboard"></i>Home</a></li>
        <li><a href="#">Iteams</a></li>
        <li><a href="/iteams">Iteams List</a></li>
        <li class="active"><a href="#">vrajesh</a></li>
    </ol>
</section>
 
<hr style="border: 3px groove #3c8dbc;">

<section  class="content" >
    <div class="row"> 
        <div class="col-md-6">
            <div class="box box-primary">
                
                <div class="box-header">
                    <a class="btn btn-primary" href="{{ route('iteams.index') }}"> Back</a>
                </div>
                
                    
                
                        <div class="form-group">
                            <label>Product Name:</label>
                            <b>{{ $iteams-> product_name }}</b>
                             
                        </div>
                        <div class="form-group">
                            <label>Relation:</label>
                           @foreach($relation as $rel)
                            <b>{{$rel->product_name}}</b>
                           @endforeach 
                           
                        </div>
                    </div>
            </div>
        </div>
    </div>
</section>



@endsection