@extends('admin.layout') @section('subtitle') Edit Attachment {{ $attachment -> name }} @stop @section('content')

{{ $attachment -> name }} Edit

{{ Form::open( array('url' => action('AttachmentController@update', array('id' => $game -> id, 'attachmentID' => $attachment -> id)), 'class' => 'form-horizontal', 'files' => true)) }}
{{ Form::text('name', $attachment -> name, array('class' => 'form-control input-lg', 'placeholder' => 'Game Name', 'required' => '')) }}
{{ Form::text('slot', $attachment -> slot, array('class' => 'form-control input-lg', 'placeholder' => 'Attachment Slot Number', 'required' => '')) }}
@if ($attachment -> thumb_url) @endif
{{ Form::label('image', 'Upload Image: ', array('class' => 'control-label'))}} {{ Form::file('image', '', array('class' => 'form-control input-lg')) }}
{{ Form::close() }}
@stop