<p>It doesn't appear there is an easy way to do this by extending that template. If you take a look at the template <code>templates/entries/_edit.html</code> you will see how the create/edit entry screen creates this view. It is extending <code>_layouts/cp</code>, but it's overriding the <code>main</code> Twig block to do some custom stuff. You can include the tabs in your main block like so:</p>

<pre><code>{% block main %}
&lt;div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3"&gt;
    &lt;div id="fields" class="pane"&gt;
        {% include "_includes/tabs" %}
    &lt;/div&gt;
&lt;/div&gt;
{% endblock %}
</code></pre>

CC BY-SA 3.0
2015-01-25T11:41:45.307Z
yes you want the .pane and .grid .item classes.
Luke Holder
CC BY-SA 3.0
2015-01-24T20:12:16.607Z
2015-01-24T20:12:16.607Z
Justin Kimbrell
<p>Im making a plugin and have come to the stage where im making an edit form, for the plugin.</p>

<p>I would like the layout to look like this, with 2 columns and tabs above the left column.</p>

<p><img src="https://i.sstatic.net/froXR.png" alt="craft entry layout"></p>

<p>My, question is what is the best way to achive this? currently im using extending _layouts/cp in my template, the page look like this. </p>

<p><img src="https://i.sstatic.net/XVymQ.png" alt="enter image description here"></p>

<p>thanks for your help</p>

<plugin-development>
Plugin custom edit page layout
# Plugin custom edit page layout

(Asked by: username_0 on 2015-01-22)

Im making a plugin and have come to the stage where im making an edit form, for the plugin.

I would like the layout to look like this, with 2 columns and tabs above the left column.

![craft entry layout](https://i.sstatic.net/froXR.png)

My, question is what is the best way to achive this? currently im using extending \_layouts/cp in my template, the page look like this.

![enter image description here](https://i.sstatic.net/XVymQ.png)

thanks for your help

**Tags:** plugin-development


---

## 1 answers

### Answer by username_1 on 2015-01-24. Score: 2

It doesn't appear there is an easy way to do this by extending that template. If you take a look at the template templates/entries/_edit.html you will see how the create/edit entry screen creates this view. It is extending _layouts/cp, but it's overriding the main Twig block to do some custom stuff. You can include the tabs in your main block like so:
{% block main %}

    
        {% include "_includes/tabs" %}
    

{% endblock %}

> **Comments:**
> **username_2**: yes you want the .pane and .grid .item classes.  

---

