@extends('admin.layout')
<style type="text/css">
    .sg-item {
        margin: 20px;
        font-size: 1.5rem;
        font-weight: bold;
    }
    .sg-detail-container {
        margin-left: 100px;
    }
</style>
@section('header')

@endsection

@section('content')
<div id="sg-main-container-sg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>{{ $model_name . '详情' }}</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link"> <i class="fa fa-chevron-up"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="sg-detail-container">
                            @if(!empty($item->text_1))
                                <div class="row sg-item">{{ $item->text_1 }}</div>
                            @endif
                            @if(!empty($item->text_2))
                                <div class="row sg-item">{{ $item->text_2 }}</div>
                            @endif
                            @if(!empty($item->text_3))
                                <div class="row sg-item">{{ $item->text_3 }}</div>
                            @endif
                            @if(!empty($item->text_4))
                                <div class="row sg-item">{{ $item->text_4 }}</div>
                            @endif
                            @if(!empty($item->multi_text))
                                <div class="row sg-item">{{ $item->multi_text }}</div>
                            @endif
                            @if(!empty($item->radio))
                                <div class="row sg-item">{{ $item->radio }}</div>
                            @endif
                            @if(!empty($item->checkbox))
                                <div class="row sg-item">{{ $item->checkbox }}</div>
                            @endif
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection

@section('footer')
<script type="text/javascript">
$(function () {

})
</script>
@endsection