@extends('backend-template') @section('content')

Edit an existing rectangular tile item

@include('layouts/form_errors') {!! Form::open(array( 'url' => route('rectangularTileSave', $rectangularTile->id), 'class' => 'form-horizontal dialog-form', 'autocomplete' => 'off', 'method' => 'PUT', 'files' => true)) !!}
{!! Form::text('admin_label', $rectangularTile->admin_label, ['class' => 'form-control']) !!} Use it for internal note
{!! Form::text('heading', $rectangularTile->heading, ['class' => 'form-control']) !!}
{!! Form::text('item_id', $rectangularTile->item_id, ['class' => 'form-control']) !!}
{!! Form::text('custom_url', $rectangularTile->custom_url, ['class' => 'form-control']) !!} If custom url is set it will override link to item listing page
{!! Form::file('image') !!} If image is not uploaded item main image will be used @if ($rectangularTile->image) home page image @endif
{!! Form::text('sequence_number', $rectangularTile->sequence_number, ['class' => 'form-control']) !!} Use it for ordering carousel items

{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@stop