Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-25T11:41:45.307Z
Answers.Text: yes you want the .pane and .grid .item classes.
Answers.UserDisplayName: Luke Holder
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-24T20:12:16.607Z
Answers.LastActivityDate: 2015-01-24T20:12:16.607Z
Answers.UserDisplayName: Justin Kimbrell
Body: <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>
  
Tags: <plugin-development>
Title: Plugin custom edit page layout
ThreadText: # 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 %}
  <div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3">
      <div id="fields" class="pane">
          {% include "_includes/tabs" %}
      </div>
  </div>
  {% endblock %}
  
  ```
  
  > **Comments:**
  > **username_2**: yes you want the .pane and .grid .item classes.  
  
  ---
  
  