@extends('admin.layout') @section('subtitle') Edit Game {{ $game -> id }} @stop @section('content')

Game Edit

{{ Form::open( array('url' => action('GameController@update', array('id' => $game -> id)), 'method' => 'PUT', 'class' => 'form-horizontal', 'files' => true)) }}

Edit Game

{{ Form::text('id', $game -> id, array('class' => 'form-control input-lg', 'placeholder' => 'Game Name', 'required' => '')) }}
{{ Form::text('short_name', $game -> short_name, array('class' => 'form-control input-lg', 'placeholder' => 'Short Name')) }}
{{ Form::select('theme_color', array('cyan' => 'Cyan', 'green' => 'Green', 'orange' => 'Orange', 'red' => 'Red', 'yellow' => 'Yellow'), $game -> theme_color, array('class' => 'form-control input-lg', 'placeholder' => 'Theme Color', 'required' => '')) }}
{{ Form::text('live', $game -> live, array('class' => 'form-control input-lg', 'placeholder' => 'Live', 'required' => '')) }}
{{ Form::label('image', 'Upload Small Image (525 x 179 minimum): ', array('class' => 'control-label'))}} {{ Form::file('image', '', array('class' => 'form-control input-lg')) }} Current: {{ $game -> thumb_url }}
{{ Form::label('header_image', 'Upload Header Image (1500 x 215 minimum): ', array('class' => 'control-label'))}} {{ Form::file('header_image', '', array('class' => 'form-control input-lg')) }} Current: {{ $game -> header_url }}
{{ Form::close() }}
@stop