@extends($_viewFrame)

@section('pageTitleMain','专项训练')

{!! \ModStart\ModStart::css('vendor/Question/style/question.css') !!}
{!! \ModStart\ModStart::js('vendor/Question/entry/questionTags.js') !!}

@section('bodyContent')

    <div class="ub-container">

        <div class="ub-breadcrumb">
            <a href="/">首页</a>
            <a href="/question">题目</a>
            <a class="active" href="javascript:;">专项训练</a>
        </div>

        <div class="ub-panel pb-question-tags">
            <div class="head">
                <div class="title">选择开始训练</div>
            </div>
            <div class="body">
                <div class="row">
                    @foreach($tags as $tagGroup)
                        <div class="col-md-3">
                            <div class="item">
                                <div class="title">
                                    {{$tagGroup['groupTitle']}}
                                </div>
                                <div class="list">
                                    @foreach($tagGroup['groupTags'] as $tag)
                                        <label>
                                            <input type="checkbox" data-tag="{{$tag['id']}}" >
                                            {{$tag['title']}}
                                        </label>
                                    @endforeach
                                </div>
                            </div>
                        </div>
                    @endforeach
                    <div style="padding:20px 0;width:100%;text-align:center;">
                        <a href="javascript:;" id="tagSubmit" class="btn btn-primary btn-lg">开始训练</a>
                    </div>
                </div>
            </div>
        </div>

    </div>


@endsection