@extends('layouts.app') @section('title', 'Edit Space') @section('content') Edit Space {!! Form::open(['url' => action('Restaurant\SpaceController@update', [$res_space->id]), 'method' => 'PUT', 'id' => 'update_space', 'enctype' => 'multipart/form-data']) !!} {!! Form::label('status', 'Bank Branch Status' . ':*') !!} {!! Form::hidden('status', 0, null); !!} {!! Form::checkbox('status', 1, $res_space->status , [ 'class' => 'input-icheck']); !!} {{ __( 'Active Space' ) }} Location {!! Form::select('location_id', $business_locations, $res_space->location_id, ['class' => 'form-control input-sm mousetrap', 'placeholder' => __('lang_v1.select_location'), 'id' => 'select_location_id', 'required', 'autofocus']) !!} {!! Form::label('name', 'Name' . ':*') !!} {!! Form::text('name', $res_space->name, ['class' => 'form-control', 'required', 'placeholder' => 'Space Name']) !!} {!! Form::label('price', 'Price' . ':*') !!} {!! Form::text('price', $res_space->price, ['class' => 'form-control', 'required', 'placeholder' => 'Space Price']) !!} {!! Form::label('image', 'Upload Space Image' . ':') !!} {!! Form::file('image', ['id' => 'upload_image', 'accept' => 'image/*']); !!} {!! Form::label('description', 'Account Description' . ':*') !!} {!! Form::text('description', $res_space->description, ['class' => 'form-control', 'required', 'placeholder' => 'Space Description']) !!} Update Space {!! Form::close() !!} @endsection