# Layout vs Wrapper

The `Layout` in a general Laravel project is called `app.blade.php`. A Tall-forms `Wrapper` is a blade component that you optionally use to wrap your form.&#x20;

If you combine `Layout` with a `Wrapper` view the form will be wrapped with the view and placed in the `Layout` `$slot`.

```
|-layout
    |-wrapper-view
       |-form
```

### Form settings related to `Layout` and `Wrapper`

```php
protected function formAttr(): array
{
    return [
        //these settings are optional, the example shows the default values
        'wrapWithView' => true, //or false
        'wrapViewPath' => config('tall-forms.wrap-view-path'), //blade view path, used as @include($wrapViewPath)
        'layout' => "layouts.app", //blade view path, Default = Livewire looks for "layouts.app.blade.php"
    ];
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tina-hammar.gitbook.io/tall-forms/concept/layout-vs-wrapper.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
