@extends('layouts.master') @section('content')

{{ ucwords(Lang::get('locations.edit')) }}: {{ $location->location_name}}

{{ Form::model($location, array('method' => 'put', 'route' => array('locations.update', $location->id))) }}
{{ ucwords(Lang::get('locations.site details')) }}
{{ Form::label('location_name', ucwords(Lang::get('locations.name'))) }} {{ Form::text('location_name', $location->location_name, array('placeholder' => Lang::get('locations.placeholder_location_name'))) }}
{{ Form::label('location_url', ucwords(Lang::get('locations.url'))) }} {{ Form::text('location_url') }}
{{ Form::label('location_logo', ucwords(Lang::get('locations.logo'))) }} {{ Form::text('location_logo') }}
{{ Form::label('location_overlay', ucwords(Lang::get('locations.overlay'))) }} {{ Form::text('location_overlay', $location->location_overlay) }}
{{ Form::label('location_folder', ucwords(Lang::get('locations.folder'))) }} {{ Form::text('location_folder', $location->location_folder) }}
{{ ucwords(Lang::get('locations.contact info')) }}
{{ Form::label('location_street', ucwords(Lang::get('locations.street'))) }} {{ Form::text('location_street', $location->location_street) }}
{{ Form::label('location_city', ucwords(Lang::get('locations.city'))) }} {{ Form::text('location_city', $location->location_city) }}
{{ Form::label('location_zip', ucwords(Lang::get('locations.zip'))) }} {{ Form::text('location_zip', $location->location_zip) }}
{{ Form::label('location_phone', ucwords(Lang::get('locations.phone'))) }} {{ Form::text('location_phone', $location->location_phone) }}
{{ Form::label('location_email', ucwords(Lang::get('locations.email'))) }} {{ Form::text('location_email', $location->location_email) }}
{{ Form::label('location_text', ucwords(Lang::get('locations.text'))) }} {{ Form::textarea('location_text', $location->location_text) }}
{{ HTML::link(URL::previous(),ucwords(Lang::get('locations.cancel')),array('class'=>'button small secondary left')) }} {{ Form::submit(ucwords(Lang::get('locations.save')), array('class'=>'button small right')) }} {{ Form::close() }}
@stop