@extends('layouts')

@section('content')
    <form action="">
        @foreach($vote->items as $item)
            <section class="ui-panel ui-grid ui-grid-bisect">
                <h2>{{ $item->name }}<span class="ui-panel-subtitle">竞选职务</span></h2>
                <img width="100%" src="{{ Storage::url($item->cover) }}"/>
                <ul>
                    <li>
                        <div class="ui-grid-info ui-border-r">
                            <label class="ui-radio" for="radio">
                                <input type="radio" name="radio[{{ $item->id }}]" checked> 同意
                            </label>
                        </div>
                    </li>
                    <li>
                        <div class="ui-grid-info">
                            <label class="ui-radio" for="radio">
                                <input type="radio" name="radio[{{ $item->id }}]"> 不同意
                            </label>
                        </div>
                    </li>
                </ul>
            </section>
        @endforeach

        <button class="ui-btn-lg ui-btn-primary">主要按钮</button>
    </form>
@endsection
