<div class="box">
    <div class="box-title">{{trans('game.add-games')}}</div>
    <div class="box-content">

        @if($message)
        <div class="alert alert-danger">{{$message}}</div>
        @endif

        <form class="form-horizontal" method="post" action="">
            <div class="alert alert-info">{{trans('game.add-game-info')}}</div>
            <div class="form-group">
                <label class="col-sm-3 control-label">{{trans('game.title')}}</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" placeholder="" name="val[title]"/>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">{{trans('game.about')}}</label>
                <div class="col-sm-7">
                    <textarea class="form-control" name="val[description]"></textarea>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">{{trans('game.category')}}</label>
                <div class="col-sm-7">
                    <select class="form-control" name="val[category]">
                        @foreach($categories as $category)
                        <option value="{{$category->id}}">{{$category->title}}</option>
                        @endforeach
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">{{trans('game.content')}}</label>
                <div class="col-sm-7">
                    <textarea style="height: 200px" class="form-control" name="val[content]"></textarea>
                </div>
            </div>





            <div class="body-header">
                <input class="btn btn-danger no-radius" type="submit" value="{{trans('game.add-game')}}"/>
            </div>
        </form>
    </div>
</div>