@extends('user.master')
@section('content')
<div class="col-md-12">
    <!-- Poll Page -->
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>

    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="col-md-9">
                @if(Session::get('message'))
                <div class="alert alert-danger animated bounce" role="alert">
                    <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
                    <span class="sr-only">Error:</span>
                    {{Session::get('message')}}
                </div>
                @endif
                @if(!empty($quiz))

                <div class="col-md-12 animated fadeIn bg-default poll-content">
                    <h2>{{$quiz->group_name}}</h2>
                    <img src="{{$quiz->image_path}}"class="img-responsive">
                    <br><br>
                    <center><a href="/quiz/{{$quiz_id}}" class="btn btn-facebook btn-lg"> Get Started Quiz <i class="fa fa-arrow-right"></i></a></center>
                </div>

                <div class="clearfix load-content">&nbsp;</div>
                <div class="clearfix load-content">&nbsp;</div>
                <div id="more"></div>

                @endif
            </div>

            <div class="col-md-3 bg-default">
                @include('user.rightbar')
            </div>
        </div>
        <div class="col-md-1"></div>
    </div>
    <!-- // Poll Page -->
</div>
@stop
