@extends('layouts.master') @section('title') Update Tenant @stop @section('content')

Edit Tenant

{{ Form::model($user->toArray() + $tenant->toArray(), ['role' => 'form', 'action' => array('TenantController@update', $building->id, $user->id), 'method' => 'PUT']) }}
{{ Form::label('username', 'Username') }} {{ Form::text('username', null, ['placeholder' => 'Username', 'class' => 'form-control', 'required', 'readonly' => 'readonly']) }} @if ($errors->has('test'))
{{ $errors->first('test') }}
@endif
{{ Form::label('apartment', 'Apartment') }} {{ Form::text('apartment', null, ['placeholder' => 'Apartment', 'class' => 'form-control', 'required']) }} @if ($errors->has('apartment'))
{{ $errors->first('apartment') }}
@endif
{{ Form::submit('Update Tenant', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@stop